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.8765/0.8765, allocations: 153.8 MB / 173.4 MB, free: 4.926 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: 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.0005376/0.0005376, allocations: 15.97 kB / 251.1 MB, free: 3.945 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.1784, allocations: 33.36 MB / 284.5 MB, free: 2.309 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.97/2.148, allocations: 307.5 MB / 0.5781 GB, free: 15.87 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.1913/2.34, allocations: 162.6 MB / 0.7369 GB, free: 2.707 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003142/2.34, allocations: 0 / 0.7369 GB, free: 2.707 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.0005266/2.34, allocations: 128 kB / 0.737 GB, free: 2.582 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003754/2.341, allocations: 99.17 kB / 0.7371 GB, free: 2.484 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.009987/2.351, allocations: 3.391 MB / 0.7404 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000639/2.351, allocations: 382.9 kB / 0.7407 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003147/2.352, allocations: 152.4 kB / 0.7409 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002618/2.352, allocations: 155.5 kB / 0.741 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002305/2.352, allocations: 155.3 kB / 0.7412 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.053e-05/2.352, allocations: 32.66 kB / 0.7412 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01561/2.368, allocations: 7.628 MB / 0.7487 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001104/2.368, allocations: 72.7 kB / 0.7487 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002577/2.368, allocations: 171.2 kB / 0.7489 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.008224/2.377, allocations: 3.504 MB / 0.7523 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/2.377, allocations: 4 kB / 0.7523 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.074e-06/2.377, allocations: 0 / 0.7523 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.591e-05/2.377, allocations: 0 / 0.7523 GB, free: 2.852 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.002446/2.379, allocations: 0.7739 MB / 0.7531 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/2.379, allocations: 8.031 kB / 0.7531 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/2.379, allocations: 44.7 kB / 0.7531 GB, free: 2 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002897/2.379, allocations: 190 kB / 0.7533 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.079e-05/2.379, allocations: 29.75 kB / 0.7533 GB, free: 1.758 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.428e-05/2.38, allocations: 36 kB / 0.7534 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006934/2.38, allocations: 422.7 kB / 0.7538 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/2.38, allocations: 4 kB / 0.7538 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.161e-05/2.38, allocations: 16 kB / 0.7538 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/2.38, allocations: 11.98 kB / 0.7538 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004615/2.381, allocations: 246.3 kB / 0.754 GB, free: 1.004 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002517/2.383, allocations: 2.015 MB / 0.756 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005798/2.384, allocations: 167.2 kB / 0.7562 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002132/2.384, allocations: 82.7 kB / 0.7562 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0179/2.402, allocations: 4.846 MB / 0.761 GB, free: 9.746 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.172e-05/2.402, allocations: 34.56 kB / 0.761 GB, free: 9.703 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=23): time 2.234e-06/2.402, allocations: 0.9375 kB / 0.761 GB, free: 9.703 MB / 0.6231 GB Notification: Performance of matching and sorting (n=23): time 0.001138/2.403, allocations: 343.9 kB / 0.7613 GB, free: 9.355 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/2.403, allocations: 59.39 kB / 0.7614 GB, free: 9.285 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003578/2.404, allocations: 281.9 kB / 0.7617 GB, free: 9.004 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/2.404, allocations: 25.7 kB / 0.7617 GB, free: 8.973 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/2.404, allocations: 188.6 kB / 0.7619 GB, free: 8.785 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.097e-05/2.404, allocations: 83.27 kB / 0.762 GB, free: 8.703 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.47e-05/2.404, allocations: 49.7 kB / 0.762 GB, free: 8.648 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001624/2.404, allocations: 338.8 kB / 0.7623 GB, free: 8.309 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/2.404, allocations: 72.19 kB / 0.7624 GB, free: 8.234 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001947/2.404, allocations: 134 kB / 0.7625 GB, free: 8.074 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003442/2.405, allocations: 217.7 kB / 0.7627 GB, free: 7.832 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/2.405, allocations: 0 / 0.7627 GB, free: 7.832 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005975/2.405, allocations: 309.5 kB / 0.763 GB, free: 7.52 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/2.405, allocations: 4 kB / 0.763 GB, free: 7.516 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/2.405, allocations: 4 kB / 0.763 GB, free: 7.512 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003732/2.406, allocations: 62.36 kB / 0.7631 GB, free: 7.445 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004823/2.406, allocations: 71.86 kB / 0.7632 GB, free: 7.375 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009119/2.407, allocations: 1.093 MB / 0.7642 GB, free: 6.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000187/2.407, allocations: 41.17 kB / 0.7643 GB, free: 6.191 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.1e-05/2.407, allocations: 13.62 kB / 0.7643 GB, free: 6.18 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.0001786/2.407, allocations: 145.8 kB / 0.7644 GB, free: 6.027 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.386e-05/2.408, allocations: 29.69 kB / 0.7644 GB, free: 6 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005685/2.408, allocations: 266.3 kB / 0.7647 GB, free: 5.73 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.511e-05/2.408, allocations: 11.92 kB / 0.7647 GB, free: 5.719 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/2.408, allocations: 0 / 0.7647 GB, free: 5.719 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/2.408, allocations: 0 / 0.7647 GB, free: 5.719 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/2.409, allocations: 0.6323 MB / 0.7653 GB, free: 5.023 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/2.409, allocations: 5.312 kB / 0.7653 GB, free: 5.02 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002905/2.41, allocations: 27.98 kB / 0.7654 GB, free: 4.992 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002801/2.41, allocations: 61.77 kB / 0.7654 GB, free: 4.926 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/2.41, allocations: 8 kB / 0.7654 GB, free: 4.918 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008467/2.411, allocations: 1.085 MB / 0.7665 GB, free: 3.781 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/2.411, allocations: 4.031 kB / 0.7665 GB, free: 3.777 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005295/2.411, allocations: 339.7 kB / 0.7668 GB, free: 3.414 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.844e-05/2.411, allocations: 36.77 kB / 0.7668 GB, free: 3.379 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.99e-05/2.411, allocations: 13.55 kB / 0.7669 GB, free: 3.367 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/2.412, allocations: 9.062 kB / 0.7669 GB, free: 3.359 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.711e-05/2.412, allocations: 15.97 kB / 0.7669 GB, free: 3.344 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/2.412, allocations: 7.938 kB / 0.7669 GB, free: 3.336 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002091/2.412, allocations: 201.2 kB / 0.7671 GB, free: 3.141 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/2.412, allocations: 0 / 0.7671 GB, free: 3.141 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001298/2.413, allocations: 415.4 kB / 0.7675 GB, free: 2.734 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.001919/2.415, allocations: 0.51 MB / 0.768 GB, free: 2.219 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006015/2.416, allocations: 188.3 kB / 0.7682 GB, free: 2.035 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/2.416, allocations: 4 kB / 0.7682 GB, free: 2.031 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002486/2.416, allocations: 89.3 kB / 0.7682 GB, free: 1.945 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005884/2.416, allocations: 90.47 kB / 0.7683 GB, free: 1.871 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/2.417, allocations: 0.5557 MB / 0.7689 GB, free: 1.277 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004365/2.418, allocations: 0.768 MB / 0.7696 GB, free: 496 kB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.669e-05/2.418, allocations: 19.44 kB / 0.7696 GB, free: 480 kB / 0.6231 GB Notification: Performance of SimCode: time 4.71e-07/2.418, allocations: 3.938 kB / 0.7696 GB, free: 476 kB / 0.6231 GB Notification: Performance of Templates: time 0.02026/2.438, allocations: 12.38 MB / 0.7817 GB, free: 4.367 MB / 0.6387 GB " [Timeout remaining time 657] 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 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.00165330991149] Failed to read output from testmodel.py, exit status != 0: 2.8498132878448814 2.863317872 0.483336627 Calling exit ...