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.8746/0.8746, allocations: 153.8 MB / 170.9 MB, free: 13.89 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestAirHumidity,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestAirHumidity",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.000495/0.000495, allocations: 14.89 kB / 247 MB, free: 14.86 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06254/0.06304, allocations: 33.34 MB / 280.4 MB, free: 15.13 MB / 238.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.75/1.813, allocations: 307.3 MB / 0.5739 GB, free: 10.55 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.5073/2.32, allocations: 162.5 MB / 0.7326 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001907/2.321, allocations: 4.453 kB / 0.7326 GB, free: 15.79 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.0004318/2.321, allocations: 127.7 kB / 0.7327 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0001805/2.321, allocations: 99.16 kB / 0.7328 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.008232/2.329, allocations: 3.394 MB / 0.7361 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0005221/2.33, allocations: 366.1 kB / 0.7365 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002388/2.33, allocations: 149.4 kB / 0.7366 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001915/2.33, allocations: 161.2 kB / 0.7368 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001841/2.331, allocations: 159.3 kB / 0.7369 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.155e-05/2.331, allocations: 37 kB / 0.737 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01319/2.344, allocations: 7.611 MB / 0.7444 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001187/2.344, allocations: 72.02 kB / 0.7445 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002972/2.344, allocations: 180.6 kB / 0.7446 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00812/2.352, allocations: 3.501 MB / 0.7481 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/2.352, allocations: 0 / 0.7481 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.282e-06/2.352, allocations: 0 / 0.7481 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.377e-06/2.352, allocations: 0 / 0.7481 GB, free: 15.08 MB / 0.5919 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.002671/2.355, allocations: 0.8425 MB / 0.7489 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/2.355, allocations: 11.12 kB / 0.7489 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.391e-05/2.355, allocations: 13.17 kB / 0.7489 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.988e-05/2.355, allocations: 75.28 kB / 0.749 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.144e-05/2.355, allocations: 41.02 kB / 0.749 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002918/2.355, allocations: 248 kB / 0.7493 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.306e-05/2.356, allocations: 28.75 kB / 0.7493 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.78e-05/2.356, allocations: 43.19 kB / 0.7493 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006377/2.356, allocations: 423.3 kB / 0.7497 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/2.356, allocations: 4.062 kB / 0.7497 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.848e-05/2.356, allocations: 12.31 kB / 0.7497 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.598e-05/2.356, allocations: 10.81 kB / 0.7498 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003823/2.357, allocations: 252.5 kB / 0.75 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002422/2.359, allocations: 2.119 MB / 0.7521 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005243/2.36, allocations: 160.4 kB / 0.7522 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002004/2.36, allocations: 91.95 kB / 0.7523 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01938/2.379, allocations: 8.572 MB / 0.7607 GB, free: 5.758 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.889e-05/2.379, allocations: 35.78 kB / 0.7607 GB, free: 5.719 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=23): time 2.655e-06/2.379, allocations: 4 kB / 0.7607 GB, free: 5.715 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.001099/2.38, allocations: 489.2 kB / 0.7612 GB, free: 5.422 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/2.38, allocations: 54.16 kB / 0.7612 GB, free: 5.359 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003442/2.381, allocations: 292.5 kB / 0.7615 GB, free: 5.219 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/2.381, allocations: 25.7 kB / 0.7615 GB, free: 5.188 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/2.381, allocations: 185.3 kB / 0.7617 GB, free: 5.051 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.761e-05/2.381, allocations: 83.06 kB / 0.7618 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.865e-05/2.381, allocations: 50.47 kB / 0.7618 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000162/2.381, allocations: 340.7 kB / 0.7622 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/2.381, allocations: 64.78 kB / 0.7622 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002579/2.382, allocations: 143.5 kB / 0.7624 GB, free: 4.535 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002958/2.382, allocations: 216.3 kB / 0.7626 GB, free: 4.438 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/2.382, allocations: 2.594 kB / 0.7626 GB, free: 4.438 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005965/2.382, allocations: 303.3 kB / 0.7629 GB, free: 4.328 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/2.382, allocations: 6.5 kB / 0.7629 GB, free: 4.328 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/2.382, allocations: 2.469 kB / 0.7629 GB, free: 4.328 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003553/2.383, allocations: 68.58 kB / 0.7629 GB, free: 4.297 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004213/2.383, allocations: 65.86 kB / 0.763 GB, free: 4.277 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008167/2.384, allocations: 1.097 MB / 0.7641 GB, free: 3.219 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/2.384, allocations: 39.73 kB / 0.7641 GB, free: 3.195 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.942e-05/2.384, allocations: 8.938 kB / 0.7641 GB, free: 3.191 MB / 0.5919 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.0001786/2.384, allocations: 147.9 kB / 0.7643 GB, free: 3.074 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.252e-05/2.385, allocations: 28.72 kB / 0.7643 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005388/2.385, allocations: 258.6 kB / 0.7645 GB, free: 2.965 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/2.385, allocations: 3.938 kB / 0.7645 GB, free: 2.961 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/2.385, allocations: 2.406 kB / 0.7645 GB, free: 2.961 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/2.385, allocations: 3.984 kB / 0.7645 GB, free: 2.957 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/2.386, allocations: 0.6605 MB / 0.7652 GB, free: 2.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/2.386, allocations: 0 / 0.7652 GB, free: 2.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002418/2.386, allocations: 35.27 kB / 0.7652 GB, free: 2.508 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002499/2.387, allocations: 59.14 kB / 0.7653 GB, free: 2.48 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/2.387, allocations: 5.844 kB / 0.7653 GB, free: 2.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000798/2.387, allocations: 1.096 MB / 0.7664 GB, free: 1.418 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/2.387, allocations: 1.094 kB / 0.7664 GB, free: 1.418 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004717/2.388, allocations: 346.8 kB / 0.7667 GB, free: 1.207 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.543e-05/2.388, allocations: 104.9 kB / 0.7668 GB, free: 1.094 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.247e-05/2.388, allocations: 5.5 kB / 0.7668 GB, free: 1.094 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/2.388, allocations: 5.875 kB / 0.7668 GB, free: 1.094 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.17e-05/2.388, allocations: 9.734 kB / 0.7668 GB, free: 1.09 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-06/2.388, allocations: 6.812 kB / 0.7668 GB, free: 1.09 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001918/2.388, allocations: 203.4 kB / 0.767 GB, free: 0.9883 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.1e-08/2.388, allocations: 4 kB / 0.767 GB, free: 0.9844 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001378/2.39, allocations: 422.4 kB / 0.7674 GB, free: 0.9336 MB / 0.5919 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.002627/2.392, allocations: 1.296 MB / 0.7687 GB, free: 108 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000573/2.393, allocations: 187.2 kB / 0.7689 GB, free: 68 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/2.393, allocations: 0 / 0.7689 GB, free: 68 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002261/2.393, allocations: 91.67 kB / 0.7689 GB, free: 52 kB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005536/2.394, allocations: 81.5 kB / 0.769 GB, free: 36 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004309/2.398, allocations: 3.028 MB / 0.772 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004973/2.399, allocations: 0.7662 MB / 0.7727 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001466/2.399, allocations: 31.64 kB / 0.7728 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/2.399, allocations: 95.59 kB / 0.7729 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of SimCode: time 1.182e-06/2.399, allocations: 0.5625 kB / 0.7729 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04521/2.444, allocations: 18.55 MB / 0.791 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.57/15.02, allocations: 8.281 kB / 0.791 GB, free: 2.629 MB / 0.6075 GB " [Timeout remaining time 645] (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: 16.91476353100734] Failed to read output from testmodel.py, exit status != 0: 15.339226457988843 15.353788916 12.998558611 Calling exit ...