Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo): time 0.911/0.911, allocations: 153.9 MB / 172.7 MB, free: 4.965 MB / 142.1 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo) Running command: "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestAirHumidity,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestAirHumidity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestAirHumidity,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestAirHumidity",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0007041/0.0007041, allocations: 15.98 kB / 249.9 MB, free: 4.445 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1926/0.1933, allocations: 33.37 MB / 283.2 MB, free: 1.809 MB / 222.1 MB Notification: Automatically loaded package Complex 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.1.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestAirHumidity): time 1.876/2.07, allocations: 307.5 MB / 0.5769 GB, free: 16.04 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.1925/2.262, allocations: 162.6 MB / 0.7356 GB, free: 2.57 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003651/2.263, allocations: 0 / 0.7356 GB, free: 2.57 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/FlueGases/BoundaryConditions/SourcePQ.mo:18:3-19:83:writable] Warning: Connector C is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/FlueGases/BoundaryConditions/AirHumidity.mo:33:3-35:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/FlueGases/BoundaryConditions/AirHumidity.mo:42:3-43:83:writable] Warning: Connector C2 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/FlueGases/PressureLosses/SingularPressureLoss.mo:18:3-20:42:writable] Warning: Connector C1 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/FlueGases/PressureLosses/SingularPressureLoss.mo:21:3-23:37:writable] Warning: Connector C2 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/FlueGases/BoundaryConditions/Sink.mo:15:3-17:16:writable] Warning: Connector C is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0005627/2.263, allocations: 137.4 kB / 0.7358 GB, free: 2.438 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.000399/2.263, allocations: 95.19 kB / 0.7358 GB, free: 2.344 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01109/2.275, allocations: 3.403 MB / 0.7392 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007359/2.275, allocations: 375 kB / 0.7395 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003522/2.276, allocations: 151.7 kB / 0.7397 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002894/2.276, allocations: 159.5 kB / 0.7398 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000283/2.276, allocations: 155.3 kB / 0.74 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.208e-05/2.276, allocations: 32 kB / 0.74 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01711/2.293, allocations: 7.621 MB / 0.7474 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.00015/2.294, allocations: 79.7 kB / 0.7475 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002715/2.294, allocations: 167.2 kB / 0.7477 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.009475/2.303, allocations: 3.504 MB / 0.7511 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/2.303, allocations: 3.938 kB / 0.7511 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.304e-06/2.303, allocations: 1.781 kB / 0.7511 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.635e-05/2.303, allocations: 0 / 0.7511 GB, free: 2.707 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.002759/2.306, allocations: 0.7748 MB / 0.7519 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/2.306, allocations: 8.031 kB / 0.7519 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00011/2.306, allocations: 78.7 kB / 0.7519 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.928e-05/2.306, allocations: 42.33 kB / 0.752 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003213/2.307, allocations: 189.7 kB / 0.7522 GB, free: 1.562 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.94e-05/2.307, allocations: 29 kB / 0.7522 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.299e-05/2.307, allocations: 36 kB / 0.7522 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007542/2.308, allocations: 430.5 kB / 0.7526 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/2.308, allocations: 0 / 0.7526 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.782e-05/2.308, allocations: 16 kB / 0.7527 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.89e-05/2.308, allocations: 12 kB / 0.7527 GB, free: 1.016 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004941/2.308, allocations: 246.4 kB / 0.7529 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002613/2.311, allocations: 2.018 MB / 0.7549 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005729/2.311, allocations: 160.7 kB / 0.755 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002264/2.312, allocations: 92.81 kB / 0.7551 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0183/2.33, allocations: 4.839 MB / 0.7598 GB, free: 9.516 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.619e-05/2.33, allocations: 38.56 kB / 0.7599 GB, free: 9.469 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=23): time 2.625e-06/2.33, allocations: 4 kB / 0.7599 GB, free: 9.465 MB / 0.6231 GB Notification: Performance of matching and sorting (n=23): time 0.001278/2.331, allocations: 339.9 kB / 0.7602 GB, free: 9.121 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/2.331, allocations: 55.41 kB / 0.7603 GB, free: 9.055 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004048/2.332, allocations: 293.7 kB / 0.7605 GB, free: 8.762 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/2.332, allocations: 25.7 kB / 0.7606 GB, free: 8.73 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001682/2.332, allocations: 180.6 kB / 0.7607 GB, free: 8.551 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/2.332, allocations: 83.27 kB / 0.7608 GB, free: 8.469 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/2.332, allocations: 53.69 kB / 0.7609 GB, free: 8.41 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001912/2.332, allocations: 334.8 kB / 0.7612 GB, free: 8.074 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001944/2.332, allocations: 64.25 kB / 0.7612 GB, free: 8.008 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001941/2.333, allocations: 136.1 kB / 0.7614 GB, free: 7.848 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003645/2.333, allocations: 222.2 kB / 0.7616 GB, free: 7.602 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/2.333, allocations: 7.875 kB / 0.7616 GB, free: 7.594 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006108/2.334, allocations: 296.7 kB / 0.7619 GB, free: 7.293 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.743e-05/2.334, allocations: 11.98 kB / 0.7619 GB, free: 7.281 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/2.334, allocations: 0 / 0.7619 GB, free: 7.281 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004101/2.334, allocations: 73.89 kB / 0.762 GB, free: 7.203 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004279/2.334, allocations: 55.91 kB / 0.762 GB, free: 7.148 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008645/2.335, allocations: 1.094 MB / 0.7631 GB, free: 6.004 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001954/2.335, allocations: 43.64 kB / 0.7631 GB, free: 5.961 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.14e-05/2.336, allocations: 16.69 kB / 0.7631 GB, free: 5.945 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 (sinkFlueGases.C.a,singularPressureLoss.C2.b,singularPressureLoss.C1.a,airHumidity.C2.b,airHumidity.C1.a,sourceFlueGasesPQ.C.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001962/2.336, allocations: 149.9 kB / 0.7633 GB, free: 5.789 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.421e-05/2.336, allocations: 27.81 kB / 0.7633 GB, free: 5.762 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000557/2.336, allocations: 258.3 kB / 0.7636 GB, free: 5.496 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/2.336, allocations: 3.938 kB / 0.7636 GB, free: 5.492 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/2.336, allocations: 2.312 kB / 0.7636 GB, free: 5.492 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/2.336, allocations: 0.6094 kB / 0.7636 GB, free: 5.492 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001155/2.338, allocations: 0.6279 MB / 0.7642 GB, free: 4.801 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/2.338, allocations: 4 kB / 0.7642 GB, free: 4.797 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002512/2.338, allocations: 36.06 kB / 0.7642 GB, free: 4.762 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002672/2.338, allocations: 57.67 kB / 0.7643 GB, free: 4.699 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/2.338, allocations: 8.938 kB / 0.7643 GB, free: 4.691 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007704/2.339, allocations: 1.095 MB / 0.7653 GB, free: 3.547 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/2.339, allocations: 0 / 0.7653 GB, free: 3.547 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005107/2.339, allocations: 349.7 kB / 0.7657 GB, free: 3.176 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.841e-05/2.339, allocations: 35.73 kB / 0.7657 GB, free: 3.141 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.531e-05/2.339, allocations: 0 / 0.7657 GB, free: 3.141 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/2.34, allocations: 4.5 kB / 0.7657 GB, free: 3.137 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.082e-05/2.34, allocations: 15.92 kB / 0.7657 GB, free: 3.121 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.916e-06/2.34, allocations: 7.938 kB / 0.7657 GB, free: 3.113 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000221/2.34, allocations: 209.2 kB / 0.7659 GB, free: 2.91 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7.1e-08/2.34, allocations: 0.5625 kB / 0.7659 GB, free: 2.91 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001393/2.341, allocations: 415.4 kB / 0.7663 GB, free: 2.504 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002806/2.344, allocations: 1.293 MB / 0.7676 GB, free: 1.176 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005522/2.345, allocations: 199.1 kB / 0.7678 GB, free: 0.9844 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/2.345, allocations: 0 / 0.7678 GB, free: 0.9844 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002396/2.345, allocations: 97.92 kB / 0.7679 GB, free: 0.8906 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005408/2.345, allocations: 83.36 kB / 0.768 GB, free: 0.8242 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004568/2.35, allocations: 3.033 MB / 0.7709 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004317/2.35, allocations: 0.7641 MB / 0.7717 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001264/2.351, allocations: 25 kB / 0.7717 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001383/2.351, allocations: 99.39 kB / 0.7718 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of SimCode: time 9.21e-07/2.351, allocations: 0 / 0.7718 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06042/2.411, allocations: 18.71 MB / 0.7901 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.18/15.59, allocations: 5.5 kB / 0.7901 GB, free: 10.58 MB / 0.6544 GB " [Timeout remaining time 644] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestAirHumidity_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestAirHumidity.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.6582031280268] Failed to read output from testmodel.py, exit status != 0: 16.126135407947004 16.135462596 13.829801128 Calling exit ...