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.8493/0.8493, allocations: 120.4 MB / 140.1 MB, free: 44 kB / 126.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: translateModel(ThermoSysPro.Examples.SimpleExamples.TestAirHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity") translateModel(ThermoSysPro.Examples.SimpleExamples.TestAirHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005416/0.0005416, allocations: 14.64 kB / 217.7 MB, free: 13.68 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05434/0.05488, allocations: 33.37 MB / 251.1 MB, free: 13.43 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.765/1.82, allocations: 254 MB / 0.4933 GB, free: 14.95 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.1774/1.998, allocations: 140.1 MB / 0.6301 GB, free: 8.477 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001891/1.998, allocations: 4 kB / 0.6301 GB, free: 8.473 MB / 0.5762 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.0003959/1.998, allocations: 108.4 kB / 0.6302 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000191/1.999, allocations: 91.19 kB / 0.6303 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.009907/2.008, allocations: 3.358 MB / 0.6336 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000499/2.009, allocations: 363.1 kB / 0.6339 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000249/2.009, allocations: 157.6 kB / 0.6341 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001899/2.009, allocations: 159.4 kB / 0.6343 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001994/2.01, allocations: 139.2 kB / 0.6344 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.373e-05/2.01, allocations: 36 kB / 0.6344 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01335/2.023, allocations: 7.244 MB / 0.6415 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 9.296e-05/2.023, allocations: 67.78 kB / 0.6416 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001912/2.023, allocations: 147.4 kB / 0.6417 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005777/2.029, allocations: 3.515 MB / 0.6451 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/2.029, allocations: 0 / 0.6451 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.342e-06/2.029, allocations: 0 / 0.6451 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.765e-06/2.029, allocations: 4 kB / 0.6451 GB, free: 9.109 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.001803/2.031, allocations: 0.7619 MB / 0.6459 GB, free: 8.316 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/2.031, allocations: 8.031 kB / 0.6459 GB, free: 8.309 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.721e-05/2.031, allocations: 48.7 kB / 0.6459 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002766/2.031, allocations: 193.7 kB / 0.6461 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.451e-05/2.031, allocations: 25 kB / 0.6461 GB, free: 8.02 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.974e-05/2.031, allocations: 36 kB / 0.6462 GB, free: 7.984 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007044/2.032, allocations: 425.1 kB / 0.6466 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/2.032, allocations: 0.75 kB / 0.6466 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.297e-05/2.032, allocations: 19.94 kB / 0.6466 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.741e-05/2.032, allocations: 16 kB / 0.6466 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004608/2.033, allocations: 242.4 kB / 0.6468 GB, free: 7.258 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002098/2.035, allocations: 1.602 MB / 0.6484 GB, free: 5.59 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006071/2.035, allocations: 171.5 kB / 0.6486 GB, free: 5.414 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002056/2.035, allocations: 80.83 kB / 0.6487 GB, free: 5.332 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01874/2.054, allocations: 4.858 MB / 0.6534 GB, free: 480 kB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/2.054, allocations: 38.5 kB / 0.6534 GB, free: 432 kB / 0.5919 GB Notification: Performance of pre-optimization done (n=23): time 1.914e-06/2.054, allocations: 4 kB / 0.6534 GB, free: 428 kB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.001055/2.055, allocations: 329.7 kB / 0.6538 GB, free: 88 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.531e-05/2.055, allocations: 55.41 kB / 0.6538 GB, free: 20 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001993/2.056, allocations: 171.8 kB / 0.654 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/2.056, allocations: 29.64 kB / 0.654 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/2.056, allocations: 204.2 kB / 0.6542 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.228e-05/2.056, allocations: 79.28 kB / 0.6543 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.75e-05/2.056, allocations: 53.64 kB / 0.6543 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001649/2.056, allocations: 326.8 kB / 0.6546 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/2.056, allocations: 72.19 kB / 0.6547 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002059/2.056, allocations: 134 kB / 0.6548 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003649/2.057, allocations: 221.1 kB / 0.655 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/2.057, allocations: 0 / 0.655 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005725/2.057, allocations: 286.9 kB / 0.6553 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/2.057, allocations: 8 kB / 0.6553 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/2.057, allocations: 7.938 kB / 0.6553 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000367/2.058, allocations: 69.61 kB / 0.6554 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004849/2.058, allocations: 68.14 kB / 0.6555 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008473/2.059, allocations: 1.086 MB / 0.6565 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001347/2.059, allocations: 31.78 kB / 0.6565 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.958e-05/2.059, allocations: 8 kB / 0.6566 GB, free: 13.04 MB / 0.6075 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.000174/2.059, allocations: 147.1 kB / 0.6567 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.282e-05/2.059, allocations: 15.91 kB / 0.6567 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005469/2.06, allocations: 246.2 kB / 0.6569 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.536e-05/2.06, allocations: 15.86 kB / 0.657 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/2.06, allocations: 0 / 0.657 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/2.06, allocations: 0 / 0.657 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/2.061, allocations: 0.5689 MB / 0.6575 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/2.061, allocations: 0 / 0.6575 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002596/2.061, allocations: 27.98 kB / 0.6575 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002593/2.062, allocations: 65.77 kB / 0.6576 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/2.062, allocations: 0 / 0.6576 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008097/2.062, allocations: 1.097 MB / 0.6587 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/2.062, allocations: 4.031 kB / 0.6587 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005163/2.063, allocations: 334.8 kB / 0.659 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.454e-05/2.063, allocations: 19.84 kB / 0.659 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/2.063, allocations: 10.3 kB / 0.659 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/2.063, allocations: 8 kB / 0.659 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.223e-05/2.063, allocations: 11.98 kB / 0.659 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/2.063, allocations: 4 kB / 0.6591 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.705e-05/2.063, allocations: 115.2 kB / 0.6592 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/2.063, allocations: 0 / 0.6592 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001224/2.064, allocations: 431.1 kB / 0.6596 GB, free: 9.793 MB / 0.6075 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.001489/2.066, allocations: 0.5168 MB / 0.6601 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005286/2.066, allocations: 184 kB / 0.6603 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/2.066, allocations: 128 / 0.6603 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002484/2.067, allocations: 100.6 kB / 0.6603 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004304/2.067, allocations: 44.72 kB / 0.6604 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009372/2.068, allocations: 0.5253 MB / 0.6609 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001672/2.068, allocations: 155.4 kB / 0.6611 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.412e-05/2.068, allocations: 13.48 kB / 0.6611 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.272e-05/2.068, allocations: 16.5 kB / 0.6611 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of SimCode: time 3.21e-07/2.068, allocations: 0 / 0.6611 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of Templates: time 0.02221/2.091, allocations: 13.39 MB / 0.6742 GB, free: 10.92 MB / 0.6231 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity.makefile [Timeout 660] (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 & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.254426178056747] Failed to read output from testmodel.py, exit status != 0: 2.4335639129858464 2.443519092 0.412100507 Calling exit ...