Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.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.8596/0.8596, allocations: 153.8 MB / 173.4 MB, free: 4.871 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.Fluid.Examples.SimpleExamples.TestAirHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestAirHumidity") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestAirHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestAirHumidity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005236/0.0005236, allocations: 15.97 kB / 251 MB, free: 3.883 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1538, allocations: 33.36 MB / 284.4 MB, free: 2.07 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.Fluid.Examples.SimpleExamples.TestAirHumidity): time 1.887/2.041, allocations: 308.2 MB / 0.5787 GB, free: 17.41 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.2145/2.255, allocations: 166 MB / 0.7408 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005563/2.256, allocations: 11.94 kB / 0.7408 GB, free: 14.51 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/AirHumidity.mo:40:3-41:54:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/AirHumidity.mo:48:3-49:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/PressureLosses/SingularPressureLoss.mo:27:3-28:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/PressureLosses/SingularPressureLoss.mo:29:3-30:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/Sink.mo:40:3-41:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SourcePQ.mo:75:3-76:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0005213/2.256, allocations: 119.8 kB / 0.7409 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006203/2.257, allocations: 182.5 kB / 0.7411 GB, free: 14.21 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:783:9-783:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:850:9-850:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:1088:9-1088:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/Fluid/derDensity_derP_derh.mo:63:5-63:84:writable] Warning: T was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.0317/2.289, allocations: 12.08 MB / 0.7529 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009182/2.289, allocations: 0.5726 MB / 0.7534 GB, free: 1.562 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003601/2.29, allocations: 259.6 kB / 0.7537 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003101/2.29, allocations: 259 kB / 0.7539 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002804/2.29, allocations: 222.8 kB / 0.7541 GB, free: 0.832 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.034e-05/2.29, allocations: 52 kB / 0.7542 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03689/2.327, allocations: 20.37 MB / 0.7741 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002266/2.328, allocations: 137.5 kB / 0.7742 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0003237/2.328, allocations: 234.9 kB / 0.7744 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0238/2.352, allocations: 10.51 MB / 0.7847 GB, free: 1.473 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/2.352, allocations: 4 kB / 0.7847 GB, free: 1.469 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.044e-06/2.352, allocations: 0 / 0.7847 GB, free: 1.469 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.298e-06/2.352, allocations: 0 / 0.7847 GB, free: 1.469 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.004996/2.357, allocations: 1.981 MB / 0.7866 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/2.357, allocations: 16.03 kB / 0.7867 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001269/2.357, allocations: 71.58 kB / 0.7867 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005288/2.357, allocations: 311.5 kB / 0.787 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.342e-05/2.357, allocations: 38.19 kB / 0.7871 GB, free: 14.99 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.18e-05/2.358, allocations: 56 kB / 0.7871 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009618/2.358, allocations: 0.5681 MB / 0.7877 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/2.359, allocations: 4 kB / 0.7877 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.633e-05/2.359, allocations: 20 kB / 0.7877 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.057e-05/2.359, allocations: 19.98 kB / 0.7877 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006998/2.359, allocations: 359.7 kB / 0.7881 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002805/2.362, allocations: 1.76 MB / 0.7898 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004192/2.362, allocations: 139.6 kB / 0.7899 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001641/2.363, allocations: 72.83 kB / 0.79 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5054/2.868, allocations: 95.01 MB / 0.8828 GB, free: 275.7 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/2.868, allocations: 41.22 kB / 0.8828 GB, free: 275.6 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=26): time 2.284e-06/2.868, allocations: 0 / 0.8828 GB, free: 275.6 MB / 0.6856 GB Notification: Performance of matching and sorting (n=26): time 0.001553/2.87, allocations: 487.2 kB / 0.8833 GB, free: 275.3 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.038e-05/2.87, allocations: 51.41 kB / 0.8833 GB, free: 275.2 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003156/2.87, allocations: 345 kB / 0.8836 GB, free: 274.9 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/2.87, allocations: 32.77 kB / 0.8837 GB, free: 274.9 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/2.87, allocations: 287.9 kB / 0.884 GB, free: 274.7 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.386e-05/2.87, allocations: 93.72 kB / 0.884 GB, free: 274.7 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/2.87, allocations: 96.52 kB / 0.8841 GB, free: 274.6 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 5.845e-05/2.87, allocations: 333 kB / 0.8845 GB, free: 274.3 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001757/2.87, allocations: 82.03 kB / 0.8845 GB, free: 274.2 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002074/2.871, allocations: 209.5 kB / 0.8847 GB, free: 274 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003598/2.871, allocations: 311.1 kB / 0.885 GB, free: 273.7 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/2.871, allocations: 4 kB / 0.885 GB, free: 273.7 MB / 0.6856 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007551/2.872, allocations: 443.5 kB / 0.8855 GB, free: 273.3 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/2.872, allocations: 12.8 kB / 0.8855 GB, free: 273.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/2.872, allocations: 4 kB / 0.8855 GB, free: 273.3 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008535/2.873, allocations: 250.8 kB / 0.8857 GB, free: 273 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/2.873, allocations: 43.86 kB / 0.8858 GB, free: 273 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007339/2.874, allocations: 1.253 MB / 0.887 GB, free: 271.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002046/2.874, allocations: 41.12 kB / 0.887 GB, free: 271.6 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.261e-05/2.874, allocations: 20.98 kB / 0.887 GB, free: 271.6 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 7 (sourceFlueGasesPQ.fluid1,sourceFlueGasesPQ.C.ftype,airHumidity.fluid,singularPressureLoss.fluid,sinkFlueGases.fluid,singularPressureLoss.C2.diff_on_1,airHumidity.C1.diff_on_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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), (4,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001534/2.874, allocations: 179.8 kB / 0.8872 GB, free: 271.4 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.072e-05/2.874, allocations: 35.77 kB / 0.8872 GB, free: 271.4 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000745/2.875, allocations: 481.8 kB / 0.8877 GB, free: 270.9 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00054/2.875, allocations: 370.5 kB / 0.8881 GB, free: 270.6 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/2.875, allocations: 0 / 0.8881 GB, free: 270.6 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/2.875, allocations: 1.969 kB / 0.8881 GB, free: 270.6 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001187/2.876, allocations: 0.8799 MB / 0.8889 GB, free: 269.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/2.876, allocations: 0 / 0.8889 GB, free: 269.6 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.703e-05/2.877, allocations: 27.98 kB / 0.8889 GB, free: 269.6 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006283/2.877, allocations: 230.7 kB / 0.8892 GB, free: 269.4 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/2.877, allocations: 8 kB / 0.8892 GB, free: 269.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006597/2.878, allocations: 1.27 MB / 0.8904 GB, free: 268.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/2.878, allocations: 0 / 0.8904 GB, free: 268.1 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005906/2.878, allocations: 489.2 kB / 0.8909 GB, free: 267.6 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001236/2.879, allocations: 74.89 kB / 0.8909 GB, free: 267.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.524e-05/2.879, allocations: 8.531 kB / 0.891 GB, free: 267.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/2.879, allocations: 11.94 kB / 0.891 GB, free: 267.5 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.387e-05/2.879, allocations: 20.03 kB / 0.891 GB, free: 267.5 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/2.879, allocations: 8 kB / 0.891 GB, free: 267.4 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0001729/2.879, allocations: 223 kB / 0.8912 GB, free: 267.2 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/2.879, allocations: 0.6562 kB / 0.8912 GB, free: 267.2 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002904/2.882, allocations: 1.543 MB / 0.8927 GB, free: 265.9 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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), (4,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004588/2.886, allocations: 2.252 MB / 0.8949 GB, free: 264.1 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.000806/2.887, allocations: 337.7 kB / 0.8952 GB, free: 263.7 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/2.887, allocations: 0.9844 kB / 0.8952 GB, free: 263.7 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0004446/2.888, allocations: 168.2 kB / 0.8954 GB, free: 263.6 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006901/2.888, allocations: 146.7 kB / 0.8955 GB, free: 263.4 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/2.889, allocations: 0.8789 MB / 0.8964 GB, free: 262.6 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001706/2.89, allocations: 255.5 kB / 0.8966 GB, free: 262.3 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.847e-05/2.89, allocations: 27.44 kB / 0.8967 GB, free: 262.2 MB / 0.6856 GB Notification: Performance of SimCode: time 3.91e-07/2.89, allocations: 0 / 0.8967 GB, free: 262.2 MB / 0.6856 GB Notification: Performance of Templates: time 0.03256/2.922, allocations: 33.65 MB / 0.9295 GB, free: 229.2 MB / 0.6856 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestAirHumidity.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestAirHumidity.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestAirHumidity.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestAirHumidity.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestAirHumidity.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestAirHumidity -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestAirHumidity.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 12.062538471072912] Failed to read output from testmodel.py, exit status != 0: 3.053946014959365 3.063119191 0.709166967 Calling exit ...