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.5466/0.5466, allocations: 120.4 MB / 140.2 MB, free: 12.98 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.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 2.295e-06/2.295e-06, allocations: 1.25 kB / 218 MB, free: 8.621 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.111e-05/2.341e-05, allocations: 2.281 kB / 218 MB, free: 8.617 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.Fluid.Examples.SimpleExamples.TestAirHumidity): time 0.9721/0.9721, allocations: 254.9 MB / 472.9 MB, free: 8.129 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.3548/1.327, allocations: 166 MB / 0.6239 GB, free: 10.04 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000432/1.327, allocations: 11.88 kB / 0.6239 GB, free: 10.02 MB / 0.5573 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.0003748/1.328, allocations: 131.1 kB / 0.624 GB, free: 9.895 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002935/1.328, allocations: 182.4 kB / 0.6242 GB, free: 9.715 MB / 0.5573 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.02257/1.351, allocations: 12.21 MB / 0.6361 GB, free: 13.49 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.000674/1.351, allocations: 0.6035 MB / 0.6367 GB, free: 12.89 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002797/1.352, allocations: 254.3 kB / 0.637 GB, free: 12.64 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002888/1.352, allocations: 379.1 kB / 0.6373 GB, free: 12.27 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001781/1.352, allocations: 183.4 kB / 0.6375 GB, free: 12.09 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 4.462e-05/1.352, allocations: 52 kB / 0.6376 GB, free: 12.04 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02699/1.379, allocations: 20.44 MB / 0.6575 GB, free: 7.57 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001958/1.379, allocations: 131.5 kB / 0.6576 GB, free: 7.441 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0002521/1.38, allocations: 183.6 kB / 0.6578 GB, free: 7.262 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.02163/1.401, allocations: 13.25 MB / 0.6707 GB, free: 9.98 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/1.401, allocations: 3.938 kB / 0.6708 GB, free: 9.977 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.354e-06/1.401, allocations: 0.75 kB / 0.6708 GB, free: 9.977 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.105e-06/1.401, allocations: 4 kB / 0.6708 GB, free: 9.973 MB / 0.6042 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.003727/1.405, allocations: 1.981 MB / 0.6727 GB, free: 7.945 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/1.405, allocations: 12.03 kB / 0.6727 GB, free: 7.934 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.217e-05/1.405, allocations: 71.56 kB / 0.6728 GB, free: 7.863 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003938/1.405, allocations: 299.6 kB / 0.6731 GB, free: 7.547 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.042e-05/1.405, allocations: 41.31 kB / 0.6731 GB, free: 7.508 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.099e-05/1.405, allocations: 56 kB / 0.6732 GB, free: 7.453 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006057/1.406, allocations: 0.569 MB / 0.6737 GB, free: 6.844 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/1.406, allocations: 0 / 0.6737 GB, free: 6.844 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.933e-05/1.406, allocations: 24 kB / 0.6737 GB, free: 6.82 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/1.406, allocations: 16 kB / 0.6737 GB, free: 6.805 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004373/1.407, allocations: 372.6 kB / 0.6741 GB, free: 6.441 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001652/1.408, allocations: 1.763 MB / 0.6758 GB, free: 4.617 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002745/1.409, allocations: 130.8 kB / 0.6759 GB, free: 4.48 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.248e-05/1.409, allocations: 76.83 kB / 0.676 GB, free: 4.402 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3256/1.734, allocations: 95 MB / 0.7688 GB, free: 285.9 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/1.734, allocations: 32.2 kB / 0.7688 GB, free: 285.9 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=26): time 1.884e-06/1.734, allocations: 4 kB / 0.7688 GB, free: 285.9 MB / 0.6667 GB Notification: Performance of matching and sorting (n=26): time 0.001056/1.735, allocations: 482.1 kB / 0.7693 GB, free: 285.4 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.495e-05/1.735, allocations: 57.84 kB / 0.7693 GB, free: 285.4 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002574/1.736, allocations: 339.2 kB / 0.7697 GB, free: 285.1 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/1.736, allocations: 29.7 kB / 0.7697 GB, free: 285 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 9.558e-05/1.736, allocations: 286.4 kB / 0.77 GB, free: 284.8 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.07e-05/1.736, allocations: 96.97 kB / 0.7701 GB, free: 284.7 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.958e-05/1.736, allocations: 85.59 kB / 0.7701 GB, free: 284.6 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 3.904e-05/1.736, allocations: 338.8 kB / 0.7705 GB, free: 284.3 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/1.736, allocations: 81.73 kB / 0.7705 GB, free: 284.2 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/1.736, allocations: 206.8 kB / 0.7707 GB, free: 284 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002386/1.736, allocations: 313.8 kB / 0.771 GB, free: 283.6 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/1.736, allocations: 0.75 kB / 0.771 GB, free: 283.6 MB / 0.6667 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004791/1.737, allocations: 445.2 kB / 0.7715 GB, free: 283.2 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/1.737, allocations: 8 kB / 0.7715 GB, free: 283.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/1.737, allocations: 4 kB / 0.7715 GB, free: 283.2 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005297/1.737, allocations: 255.2 kB / 0.7717 GB, free: 282.9 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.827e-05/1.737, allocations: 44.41 kB / 0.7718 GB, free: 282.9 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004888/1.738, allocations: 1.253 MB / 0.773 GB, free: 281.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/1.738, allocations: 38.19 kB / 0.773 GB, free: 281.5 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/1.738, allocations: 17.19 kB / 0.773 GB, free: 281.5 MB / 0.6667 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.000142/1.738, allocations: 181 kB / 0.7732 GB, free: 281.3 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.947e-05/1.738, allocations: 35.75 kB / 0.7732 GB, free: 281.3 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004927/1.739, allocations: 476.1 kB / 0.7737 GB, free: 280.8 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003214/1.739, allocations: 367.4 kB / 0.774 GB, free: 280.5 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/1.739, allocations: 0 / 0.774 GB, free: 280.5 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/1.739, allocations: 1.125 kB / 0.774 GB, free: 280.5 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007908/1.74, allocations: 0.8975 MB / 0.7749 GB, free: 279.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/1.74, allocations: 4.688 kB / 0.7749 GB, free: 279.5 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.234e-05/1.74, allocations: 28.91 kB / 0.775 GB, free: 279.5 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003489/1.74, allocations: 218.8 kB / 0.7752 GB, free: 279.3 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/1.74, allocations: 7.984 kB / 0.7752 GB, free: 279.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004088/1.741, allocations: 1.257 MB / 0.7764 GB, free: 278 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/1.741, allocations: 1.75 kB / 0.7764 GB, free: 278 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003916/1.741, allocations: 0.4928 MB / 0.7769 GB, free: 277.5 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 8.393e-05/1.741, allocations: 69.48 kB / 0.7769 GB, free: 277.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.447e-05/1.741, allocations: 4 kB / 0.777 GB, free: 277.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.824e-05/1.741, allocations: 11.98 kB / 0.777 GB, free: 277.4 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.775e-05/1.741, allocations: 24.27 kB / 0.777 GB, free: 277.4 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-06/1.741, allocations: 4 kB / 0.777 GB, free: 277.4 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.000122/1.741, allocations: 227 kB / 0.7772 GB, free: 277.1 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7e-08/1.741, allocations: 0 / 0.7772 GB, free: 277.1 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002831/1.744, allocations: 1.543 MB / 0.7787 GB, free: 275.8 MB / 0.6667 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.003453/1.748, allocations: 2.463 MB / 0.7811 GB, free: 273.8 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0005325/1.748, allocations: 342.4 kB / 0.7814 GB, free: 273.5 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/1.748, allocations: 4.125 kB / 0.7814 GB, free: 273.5 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002274/1.748, allocations: 173.8 kB / 0.7816 GB, free: 273.3 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004347/1.749, allocations: 140.2 kB / 0.7817 GB, free: 273.2 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008586/1.75, allocations: 0.8548 MB / 0.7826 GB, free: 272.3 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001315/1.75, allocations: 246 kB / 0.7828 GB, free: 272.1 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.671e-05/1.75, allocations: 36.42 kB / 0.7829 GB, free: 272 MB / 0.6667 GB Notification: Performance of SimCode: time 9.82e-07/1.75, allocations: 0.6562 kB / 0.7829 GB, free: 272 MB / 0.6667 GB Notification: Performance of Templates: time 0.02703/1.777, allocations: 33.91 MB / 0.816 GB, free: 238.3 MB / 0.6667 GB " [Timeout remaining time 658] 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.630819720216095] Failed to read output from testmodel.py, exit status != 0: 1.9963363828137517 1.911093683 0.5083877539999999 Calling exit ...