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.5573/0.5573, allocations: 120.4 MB / 140.2 MB, free: 12.97 MB / 138.7 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 2.374e-06/2.374e-06, allocations: 0 / 218 MB, free: 8.637 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.702e-05/2.94e-05, allocations: 2.281 kB / 218 MB, free: 8.633 MB / 202.7 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 0.9689/0.9689, allocations: 254.3 MB / 472.3 MB, free: 8.852 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.3228/1.292, allocations: 140.2 MB / 0.5981 GB, free: 3.797 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001379/1.292, allocations: 8 kB / 0.5981 GB, free: 3.789 MB / 0.5261 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.0003037/1.292, allocations: 103.3 kB / 0.5982 GB, free: 3.688 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001184/1.292, allocations: 99.11 kB / 0.5983 GB, free: 3.59 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.005612/1.298, allocations: 3.378 MB / 0.6016 GB, free: 276 kB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003313/1.298, allocations: 386.8 kB / 0.602 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002062/1.298, allocations: 152.8 kB / 0.6021 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000185/1.299, allocations: 235.5 kB / 0.6023 GB, free: 15.51 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/1.299, allocations: 115.6 kB / 0.6024 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 2.801e-05/1.299, allocations: 32 kB / 0.6025 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00835/1.307, allocations: 7.249 MB / 0.6096 GB, free: 8.109 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 7.88e-05/1.307, allocations: 79.73 kB / 0.6096 GB, free: 8.031 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001082/1.307, allocations: 123.6 kB / 0.6098 GB, free: 7.914 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.004816/1.312, allocations: 4.569 MB / 0.6142 GB, free: 3.336 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/1.312, allocations: 0 / 0.6142 GB, free: 3.336 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.463e-06/1.312, allocations: 0 / 0.6142 GB, free: 3.336 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.23e-06/1.312, allocations: 4 kB / 0.6142 GB, free: 3.332 MB / 0.5417 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.001004/1.313, allocations: 0.7702 MB / 0.615 GB, free: 2.535 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 2.805e-05/1.313, allocations: 8.031 kB / 0.615 GB, free: 2.527 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.05e-05/1.313, allocations: 40.7 kB / 0.615 GB, free: 2.488 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/1.313, allocations: 189.6 kB / 0.6152 GB, free: 2.277 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.242e-05/1.313, allocations: 29 kB / 0.6152 GB, free: 2.246 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.858e-05/1.313, allocations: 43.94 kB / 0.6153 GB, free: 2.203 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004062/1.314, allocations: 421.2 kB / 0.6157 GB, free: 1.754 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/1.314, allocations: 0.75 kB / 0.6157 GB, free: 1.754 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.042e-05/1.314, allocations: 16.75 kB / 0.6157 GB, free: 1.738 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/1.314, allocations: 11.98 kB / 0.6157 GB, free: 1.727 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002758/1.314, allocations: 246.3 kB / 0.6159 GB, free: 1.488 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001209/1.315, allocations: 1.581 MB / 0.6175 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003465/1.316, allocations: 165.4 kB / 0.6176 GB, free: 15.67 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/1.316, allocations: 88.81 kB / 0.6177 GB, free: 15.58 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008495/1.324, allocations: 4.868 MB / 0.6225 GB, free: 10.71 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.72e-05/1.324, allocations: 34.55 kB / 0.6225 GB, free: 10.66 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=23): time 1.262e-06/1.324, allocations: 0 / 0.6225 GB, free: 10.66 MB / 0.5573 GB Notification: Performance of matching and sorting (n=23): time 0.0005659/1.325, allocations: 336.4 kB / 0.6228 GB, free: 10.33 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.457e-05/1.325, allocations: 51.41 kB / 0.6229 GB, free: 10.27 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/1.325, allocations: 158.4 kB / 0.623 GB, free: 10.11 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/1.325, allocations: 25.7 kB / 0.623 GB, free: 10.07 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 8.317e-05/1.325, allocations: 212.1 kB / 0.6233 GB, free: 9.863 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.729e-05/1.325, allocations: 83.28 kB / 0.6233 GB, free: 9.781 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.333e-05/1.325, allocations: 54.44 kB / 0.6234 GB, free: 9.723 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 7.481e-05/1.325, allocations: 326.8 kB / 0.6237 GB, free: 9.395 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.247e-05/1.325, allocations: 64.25 kB / 0.6238 GB, free: 9.328 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/1.325, allocations: 133.1 kB / 0.6239 GB, free: 9.168 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002053/1.326, allocations: 224.8 kB / 0.6241 GB, free: 8.922 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/1.326, allocations: 0 / 0.6241 GB, free: 8.922 MB / 0.5573 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003301/1.326, allocations: 291.1 kB / 0.6244 GB, free: 8.625 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/1.326, allocations: 8.75 kB / 0.6244 GB, free: 8.617 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/1.326, allocations: 4 kB / 0.6244 GB, free: 8.613 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002015/1.326, allocations: 70.23 kB / 0.6245 GB, free: 8.539 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000211/1.326, allocations: 63.89 kB / 0.6245 GB, free: 8.477 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004402/1.327, allocations: 1.094 MB / 0.6256 GB, free: 7.332 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.81e-05/1.327, allocations: 28.77 kB / 0.6256 GB, free: 7.305 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.779e-06/1.327, allocations: 4 kB / 0.6256 GB, free: 7.301 MB / 0.5573 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.0001034/1.327, allocations: 153.7 kB / 0.6258 GB, free: 7.141 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.197e-05/1.327, allocations: 21.3 kB / 0.6258 GB, free: 7.121 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005538/1.328, allocations: 247 kB / 0.626 GB, free: 6.879 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/1.328, allocations: 3.984 kB / 0.626 GB, free: 6.875 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/1.328, allocations: 0 / 0.626 GB, free: 6.875 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/1.328, allocations: 0 / 0.626 GB, free: 6.875 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005704/1.328, allocations: 0.5729 MB / 0.6266 GB, free: 6.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/1.328, allocations: 1.406 kB / 0.6266 GB, free: 6.25 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/1.328, allocations: 31.92 kB / 0.6266 GB, free: 6.219 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001316/1.328, allocations: 65.61 kB / 0.6267 GB, free: 6.148 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-06/1.329, allocations: 5.344 kB / 0.6267 GB, free: 6.145 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003807/1.329, allocations: 1.085 MB / 0.6277 GB, free: 5.008 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/1.329, allocations: 8.859 kB / 0.6277 GB, free: 5 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002611/1.329, allocations: 331.5 kB / 0.6281 GB, free: 4.645 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.784e-05/1.329, allocations: 19.84 kB / 0.6281 GB, free: 4.625 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/1.329, allocations: 7.984 kB / 0.6281 GB, free: 4.617 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.702e-05/1.329, allocations: 7.938 kB / 0.6281 GB, free: 4.609 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.979e-05/1.329, allocations: 7.984 kB / 0.6281 GB, free: 4.602 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/1.329, allocations: 11.11 kB / 0.6281 GB, free: 4.594 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 5.567e-05/1.329, allocations: 120.7 kB / 0.6282 GB, free: 4.477 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/1.329, allocations: 0 / 0.6282 GB, free: 4.477 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0005837/1.33, allocations: 435.1 kB / 0.6286 GB, free: 4.051 MB / 0.5573 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.001045/1.331, allocations: 0.5574 MB / 0.6292 GB, free: 3.484 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002996/1.331, allocations: 188.8 kB / 0.6294 GB, free: 3.305 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/1.331, allocations: 0 / 0.6294 GB, free: 3.305 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001135/1.331, allocations: 101.2 kB / 0.6295 GB, free: 3.207 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002699/1.332, allocations: 43.83 kB / 0.6295 GB, free: 3.168 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005912/1.332, allocations: 0.5324 MB / 0.63 GB, free: 2.59 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.676e-05/1.332, allocations: 151.4 kB / 0.6302 GB, free: 2.426 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.802e-05/1.332, allocations: 16.5 kB / 0.6302 GB, free: 2.41 MB / 0.5573 GB Notification: Performance of SimCode: time 4.2e-07/1.332, allocations: 0 / 0.6302 GB, free: 2.41 MB / 0.5573 GB Notification: Performance of Templates: time 0.009409/1.342, allocations: 11.82 MB / 0.6417 GB, free: 6.605 MB / 0.573 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 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.110396915115416] Failed to read output from testmodel.py, exit status != 0: 1.5682788910344243 1.482443822 0.168717804 Calling exit ...