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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 3.2.0-master/package.mo", uses=false) Using package ThermoSysPro with version 3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 3.2.0-master/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ThermoSysPro.Examples.SimpleExamples.TestAirHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity") translateModel(ThermoSysPro.Examples.SimpleExamples.TestAirHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001096/0.001097, allocations: 182.3 kB / 16.12 MB, free: 5.691 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.695/1.695, allocations: 194.5 MB / 211.3 MB, free: 2.957 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001656/0.001655, allocations: 119.6 kB / 256.6 MB, free: 4.254 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 3.2.0-master/package.mo): time 0.6853/0.6853, allocations: 92.57 MB / 394.4 MB, free: 40.76 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004423/0.0004424, allocations: 16 kB / 468.3 MB, free: 416 kB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1605, allocations: 63.2 MB / 0.519 GB, free: 1.133 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.808/1.969, allocations: 0.7324 GB / 1.251 GB, free: 160.2 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001637/1.969, allocations: 52.11 kB / 1.251 GB, free: 160.2 MB / 0.573 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 3.2.0-master/FlueGases/Connectors.mo:3:3-51:22:writable] Warning: Connector .ThermoSysPro.FlueGases.Connectors.FlueGasesOutlet 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 3.2.0-master/FlueGases/Connectors.mo:53:3-101:21:writable] Warning: Connector .ThermoSysPro.FlueGases.Connectors.FlueGasesInlet 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 3.2.0-master/FlueGases/Connectors.mo:3:3-51:22:writable] Warning: Connector .ThermoSysPro.FlueGases.Connectors.FlueGasesOutlet 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 3.2.0-master/Properties/WaterSteam/Common.mo:703:3-754:22:writable] Warning: pro.x 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 3.2.0-master/Properties/WaterSteam/Common.mo:1185:3-1241:26:writable] Warning: pro.x 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 3.2.0-master/FlueGases/Connectors.mo:53:3-101:21:writable] Warning: Connector .ThermoSysPro.FlueGases.Connectors.FlueGasesInlet 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 3.2.0-master/FlueGases/Connectors.mo:3:3-51:22:writable] Warning: Connector .ThermoSysPro.FlueGases.Connectors.FlueGasesOutlet 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 3.2.0-master/FlueGases/Connectors.mo:53:3-101:21:writable] Warning: Connector .ThermoSysPro.FlueGases.Connectors.FlueGasesInlet is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). Notification: Performance of FrontEnd - DAE generated: time 0.2844/2.253, allocations: 129 MB / 1.377 GB, free: 31.05 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.235e-06/2.253, allocations: 0 / 1.377 GB, free: 31.05 MB / 0.573 GB Notification: Performance of Transformations before backend: time 2.188e-05/2.253, allocations: 8 kB / 1.377 GB, free: 31.05 MB / 0.573 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.003721/2.257, allocations: 0.7987 MB / 1.378 GB, free: 30.2 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/2.257, allocations: 8.031 kB / 1.378 GB, free: 30.2 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/2.257, allocations: 36.56 kB / 1.378 GB, free: 30.16 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002411/2.257, allocations: 244.2 kB / 1.378 GB, free: 29.88 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.516e-05/2.258, allocations: 29.38 kB / 1.378 GB, free: 29.86 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.114e-05/2.258, allocations: 32.38 kB / 1.379 GB, free: 29.82 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005597/2.258, allocations: 422.4 kB / 1.379 GB, free: 29.38 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/2.258, allocations: 3.938 kB / 1.379 GB, free: 29.38 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.805e-05/2.258, allocations: 20 kB / 1.379 GB, free: 29.36 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.37e-05/2.258, allocations: 11.98 kB / 1.379 GB, free: 29.35 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000381/2.259, allocations: 246.3 kB / 1.379 GB, free: 29.11 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001758/2.26, allocations: 2.13 MB / 1.381 GB, free: 26.8 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004544/2.261, allocations: 168.1 kB / 1.381 GB, free: 26.63 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001754/2.261, allocations: 108.8 kB / 1.382 GB, free: 26.52 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01342/2.274, allocations: 7.97 MB / 1.389 GB, free: 17.67 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/2.275, allocations: 34.56 kB / 1.389 GB, free: 17.62 MB / 0.573 GB Notification: Performance of pre-optimization done (n=23): time 2.555e-06/2.275, allocations: 3.984 kB / 1.389 GB, free: 17.62 MB / 0.573 GB Notification: Performance of matching and sorting (n=23): time 0.001049/2.276, allocations: 0.4904 MB / 1.39 GB, free: 17.09 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/2.276, allocations: 55.41 kB / 1.39 GB, free: 17.02 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002984/2.276, allocations: 274.7 kB / 1.39 GB, free: 16.74 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/2.276, allocations: 33.7 kB / 1.39 GB, free: 16.7 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 8.133e-05/2.276, allocations: 180.5 kB / 1.39 GB, free: 16.52 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 5.352e-05/2.276, allocations: 82.84 kB / 1.39 GB, free: 16.44 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.415e-06/2.276, allocations: 4 kB / 1.39 GB, free: 16.44 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 7.172e-05/2.276, allocations: 331.8 kB / 1.391 GB, free: 16.11 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/2.276, allocations: 64.25 kB / 1.391 GB, free: 16.04 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/2.276, allocations: 145 kB / 1.391 GB, free: 15.87 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002533/2.277, allocations: 218.7 kB / 1.391 GB, free: 15.62 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/2.277, allocations: 0 / 1.391 GB, free: 15.62 MB / 0.573 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00047/2.277, allocations: 304 kB / 1.391 GB, free: 15.32 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/2.277, allocations: 4 kB / 1.391 GB, free: 15.31 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/2.277, allocations: 4 kB / 1.391 GB, free: 15.31 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003299/2.278, allocations: 69.95 kB / 1.392 GB, free: 15.23 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003925/2.278, allocations: 59.89 kB / 1.392 GB, free: 15.18 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004829/2.279, allocations: 1.096 MB / 1.393 GB, free: 14.03 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001894/2.279, allocations: 35.62 kB / 1.393 GB, free: 14 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/2.279, allocations: 11.94 kB / 1.393 GB, free: 13.98 MB / 0.573 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 (singularPressureLoss.C2.b,sinkFlueGases.C.a,airHumidity.C2.b,singularPressureLoss.C1.a,sourceFlueGasesPQ.C.b,airHumidity.C1.a) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001338/2.279, allocations: 141.6 kB / 1.393 GB, free: 13.84 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.96e-05/2.279, allocations: 35.61 kB / 1.393 GB, free: 13.8 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000448/2.279, allocations: 269.6 kB / 1.393 GB, free: 13.54 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/2.279, allocations: 0 / 1.393 GB, free: 13.54 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/2.279, allocations: 0 / 1.393 GB, free: 13.54 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/2.279, allocations: 0 / 1.393 GB, free: 13.54 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008771/2.28, allocations: 0.6662 MB / 1.394 GB, free: 12.8 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/2.28, allocations: 0 / 1.394 GB, free: 12.8 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000242/2.281, allocations: 40 kB / 1.394 GB, free: 12.76 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002166/2.281, allocations: 61.67 kB / 1.394 GB, free: 12.69 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/2.281, allocations: 0 / 1.394 GB, free: 12.69 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004472/2.281, allocations: 1.093 MB / 1.395 GB, free: 11.55 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/2.281, allocations: 0 / 1.395 GB, free: 11.55 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003878/2.282, allocations: 347.4 kB / 1.395 GB, free: 11.18 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.945e-05/2.282, allocations: 108.8 kB / 1.395 GB, free: 11.05 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.647e-05/2.282, allocations: 4 kB / 1.395 GB, free: 11.05 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/2.282, allocations: 8 kB / 1.395 GB, free: 11.04 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.531e-05/2.282, allocations: 11.92 kB / 1.395 GB, free: 11.03 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/2.282, allocations: 8 kB / 1.395 GB, free: 11.02 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0001878/2.282, allocations: 202 kB / 1.396 GB, free: 10.82 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.1e-07/2.282, allocations: 4 kB / 1.396 GB, free: 10.82 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.003067/2.285, allocations: 463.5 kB / 1.396 GB, free: 10.37 MB / 0.573 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.00434/2.29, allocations: 0.9998 MB / 1.397 GB, free: 9.359 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0005563/2.29, allocations: 195.7 kB / 1.397 GB, free: 9.168 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/2.29, allocations: 0.5625 kB / 1.397 GB, free: 9.168 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002204/2.29, allocations: 101.7 kB / 1.397 GB, free: 9.07 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000612/2.291, allocations: 80.2 kB / 1.397 GB, free: 8.992 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/2.292, allocations: 0.6244 MB / 1.398 GB, free: 8.34 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002006/2.292, allocations: 0.7641 MB / 1.399 GB, free: 7.551 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.000134/2.292, allocations: 26.28 kB / 1.399 GB, free: 7.52 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.682e-05/2.293, allocations: 19.44 kB / 1.399 GB, free: 7.5 MB / 0.573 GB Notification: Performance of SimCode: time 4.91e-07/2.293, allocations: 4 kB / 1.399 GB, free: 7.496 MB / 0.573 GB Notification: Performance of Templates: time 0.3176/2.61, allocations: 21.88 MB / 1.42 GB, free: 129.1 MB / 0.573 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity.makefile (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)