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.8889/0.8889, allocations: 153.8 MB / 172.7 MB, free: 4.867 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.0005371/0.0005371, allocations: 11.98 kB / 250.3 MB, free: 3.883 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1597, allocations: 33.35 MB / 283.7 MB, free: 2.066 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.87/2.03, allocations: 308.1 MB / 0.5779 GB, free: 17.27 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.204/2.234, allocations: 166 MB / 0.74 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004142/2.235, allocations: 11.88 kB / 0.7401 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.000433/2.235, allocations: 128.4 kB / 0.7402 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003977/2.235, allocations: 178.6 kB / 0.7404 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.02949/2.265, allocations: 12.07 MB / 0.7521 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009556/2.266, allocations: 0.582 MB / 0.7527 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003718/2.266, allocations: 242.4 kB / 0.7529 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000319/2.266, allocations: 267 kB / 0.7532 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002964/2.267, allocations: 226.8 kB / 0.7534 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.448e-05/2.267, allocations: 52 kB / 0.7535 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03586/2.303, allocations: 20.38 MB / 0.7734 GB, free: 12.37 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002073/2.303, allocations: 127.5 kB / 0.7735 GB, free: 12.24 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0003075/2.303, allocations: 238.9 kB / 0.7737 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.02223/2.325, allocations: 10.52 MB / 0.784 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/2.325, allocations: 0 / 0.784 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.212e-06/2.325, allocations: 0 / 0.784 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.756e-06/2.325, allocations: 0 / 0.784 GB, free: 1.461 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.004847/2.33, allocations: 1.982 MB / 0.7859 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/2.33, allocations: 12.03 kB / 0.7859 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001364/2.33, allocations: 71.58 kB / 0.786 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004984/2.331, allocations: 307.5 kB / 0.7863 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.378e-05/2.331, allocations: 41.31 kB / 0.7863 GB, free: 14.99 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.73e-05/2.331, allocations: 48 kB / 0.7864 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009404/2.332, allocations: 0.5808 MB / 0.7869 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/2.332, allocations: 0 / 0.7869 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.081e-05/2.332, allocations: 20 kB / 0.787 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.648e-05/2.332, allocations: 23.94 kB / 0.787 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006737/2.333, allocations: 356.8 kB / 0.7873 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002427/2.335, allocations: 1.757 MB / 0.789 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003845/2.336, allocations: 139.3 kB / 0.7892 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001655/2.336, allocations: 72.84 kB / 0.7892 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5594/2.895, allocations: 95.02 MB / 0.882 GB, free: 275.7 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/2.895, allocations: 42.05 kB / 0.8821 GB, free: 275.7 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=26): time 2.094e-06/2.895, allocations: 0 / 0.8821 GB, free: 275.7 MB / 0.6856 GB Notification: Performance of matching and sorting (n=26): time 0.001496/2.897, allocations: 486 kB / 0.8825 GB, free: 275.3 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.339e-05/2.897, allocations: 57 kB / 0.8826 GB, free: 275.3 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003186/2.897, allocations: 340.3 kB / 0.8829 GB, free: 275 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/2.897, allocations: 29.52 kB / 0.8829 GB, free: 275 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/2.897, allocations: 292.6 kB / 0.8832 GB, free: 274.8 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.722e-05/2.897, allocations: 97.8 kB / 0.8833 GB, free: 274.7 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.948e-05/2.897, allocations: 87.89 kB / 0.8834 GB, free: 274.6 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 5.571e-05/2.897, allocations: 337.8 kB / 0.8837 GB, free: 274.3 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001676/2.898, allocations: 79.34 kB / 0.8838 GB, free: 274.3 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001928/2.898, allocations: 206.6 kB / 0.884 GB, free: 274 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003452/2.898, allocations: 312 kB / 0.8843 GB, free: 273.7 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/2.898, allocations: 0 / 0.8843 GB, free: 273.7 MB / 0.6856 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007538/2.899, allocations: 444.2 kB / 0.8847 GB, free: 273.3 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/2.899, allocations: 4.766 kB / 0.8847 GB, free: 273.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/2.899, allocations: 4 kB / 0.8847 GB, free: 273.3 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008147/2.9, allocations: 264.8 kB / 0.885 GB, free: 273 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/2.9, allocations: 43.92 kB / 0.885 GB, free: 273 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007036/2.9, allocations: 1.254 MB / 0.8862 GB, free: 271.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001941/2.901, allocations: 44.81 kB / 0.8863 GB, free: 271.7 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.214e-05/2.901, allocations: 16.77 kB / 0.8863 GB, free: 271.7 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.0001546/2.901, allocations: 184.2 kB / 0.8865 GB, free: 271.5 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.916e-05/2.901, allocations: 31.77 kB / 0.8865 GB, free: 271.4 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007264/2.902, allocations: 479.9 kB / 0.887 GB, free: 271 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000536/2.902, allocations: 367.1 kB / 0.8873 GB, free: 270.6 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/2.902, allocations: 0 / 0.8873 GB, free: 270.6 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/2.902, allocations: 7.031 kB / 0.8873 GB, free: 270.6 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/2.903, allocations: 0.8782 MB / 0.8882 GB, free: 269.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/2.903, allocations: 4.031 kB / 0.8882 GB, free: 269.7 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.554e-05/2.903, allocations: 23.98 kB / 0.8882 GB, free: 269.7 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006119/2.904, allocations: 228.4 kB / 0.8884 GB, free: 269.4 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/2.904, allocations: 8 kB / 0.8884 GB, free: 269.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006389/2.905, allocations: 1.263 MB / 0.8897 GB, free: 268.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/2.905, allocations: 4 kB / 0.8897 GB, free: 268.1 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005922/2.905, allocations: 496.3 kB / 0.8901 GB, free: 267.6 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/2.905, allocations: 66.91 kB / 0.8902 GB, free: 267.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.599e-05/2.905, allocations: 16.05 kB / 0.8902 GB, free: 267.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/2.906, allocations: 7.938 kB / 0.8902 GB, free: 267.5 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.256e-05/2.906, allocations: 19.97 kB / 0.8903 GB, free: 267.5 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/2.906, allocations: 8 kB / 0.8903 GB, free: 267.5 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0001692/2.906, allocations: 219 kB / 0.8905 GB, free: 267.3 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8e-08/2.906, allocations: 0.7656 kB / 0.8905 GB, free: 267.3 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003028/2.909, allocations: 1.547 MB / 0.892 GB, free: 266 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.004793/2.914, allocations: 2.25 MB / 0.8942 GB, free: 264.1 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0008684/2.914, allocations: 338 kB / 0.8945 GB, free: 263.8 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/2.914, allocations: 0 / 0.8945 GB, free: 263.8 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0004471/2.915, allocations: 173 kB / 0.8947 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.0006944/2.916, allocations: 146.4 kB / 0.8948 GB, free: 263.5 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/2.917, allocations: 0.8286 MB / 0.8956 GB, free: 262.6 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001693/2.917, allocations: 261.9 kB / 0.8959 GB, free: 262.4 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001388/2.917, allocations: 41.78 kB / 0.8959 GB, free: 262.3 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.171e-05/2.917, allocations: 25.8 kB / 0.8959 GB, free: 262.3 MB / 0.6856 GB Notification: Performance of SimCode: time 4.71e-07/2.917, allocations: 0 / 0.8959 GB, free: 262.3 MB / 0.6856 GB Notification: Performance of Templates: time 0.04764/2.965, allocations: 49.41 MB / 0.9442 GB, free: 213.6 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: 8.921400057151914] Failed to read output from testmodel.py, exit status != 0: 3.09276363812387 3.101775644 0.774072273 Calling exit ...