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 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/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/ThermoSysPro 4.0.0-master/package.mo): time 0.852/0.852, allocations: 150.9 MB / 167.2 MB, free: 14.54 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000407/0.000407, allocations: 17.31 kB / 237.8 MB, free: 1.762 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05997/0.06039, allocations: 31.35 MB / 269.1 MB, free: 7.031 MB / 222.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestAirHumidity): time 1.655/1.716, allocations: 294.7 MB / 0.5506 GB, free: 13.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1651/1.881, allocations: 159.1 MB / 0.706 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002167/1.881, allocations: 0 / 0.706 GB, free: 13.25 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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.0004385/1.881, allocations: 113.8 kB / 0.7061 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003045/1.882, allocations: 91.11 kB / 0.7062 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.009735/1.891, allocations: 3.367 MB / 0.7095 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.000533/1.892, allocations: 371 kB / 0.7099 GB, free: 9.328 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003372/1.892, allocations: 184.1 kB / 0.71 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002718/1.893, allocations: 147.4 kB / 0.7102 GB, free: 9 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002197/1.893, allocations: 163.3 kB / 0.7103 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.776e-05/1.893, allocations: 32 kB / 0.7104 GB, free: 8.809 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01491/1.908, allocations: 7.592 MB / 0.7178 GB, free: 1.207 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000147/1.908, allocations: 71.77 kB / 0.7179 GB, free: 1.137 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003037/1.908, allocations: 179.1 kB / 0.718 GB, free: 0.9609 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.3063/2.215, allocations: 3.481 MB / 0.7214 GB, free: 9.656 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/2.215, allocations: 1.797 kB / 0.7214 GB, free: 9.656 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.202e-06/2.215, allocations: 0 / 0.7214 GB, free: 9.656 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.334e-06/2.215, allocations: 1.531 kB / 0.7214 GB, free: 9.656 MB / 0.5919 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.002692/2.217, allocations: 0.8242 MB / 0.7222 GB, free: 9.156 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/2.217, allocations: 15.17 kB / 0.7222 GB, free: 9.156 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.39e-05/2.217, allocations: 39.16 kB / 0.7223 GB, free: 9.141 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001942/2.218, allocations: 247.7 kB / 0.7225 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.287e-05/2.218, allocations: 28.97 kB / 0.7225 GB, free: 8.922 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.123e-05/2.218, allocations: 39.88 kB / 0.7226 GB, free: 8.922 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000568/2.218, allocations: 415.6 kB / 0.723 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/2.218, allocations: 3.375 kB / 0.723 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.847e-05/2.218, allocations: 18.53 kB / 0.723 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.772e-05/2.218, allocations: 15.91 kB / 0.723 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003855/2.219, allocations: 240.2 kB / 0.7232 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001939/2.221, allocations: 2.114 MB / 0.7253 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000534/2.221, allocations: 179.7 kB / 0.7255 GB, free: 7.176 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002057/2.222, allocations: 100.2 kB / 0.7256 GB, free: 7.168 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01856/2.24, allocations: 8.571 MB / 0.7339 GB, free: 18.47 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/2.24, allocations: 39.27 kB / 0.734 GB, free: 18.43 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=23): time 2.495e-06/2.24, allocations: 0.9375 kB / 0.734 GB, free: 18.43 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.001089/2.241, allocations: 495.4 kB / 0.7345 GB, free: 18.18 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.786e-05/2.241, allocations: 55.81 kB / 0.7345 GB, free: 18.11 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002909/2.242, allocations: 282.6 kB / 0.7348 GB, free: 18.01 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/2.242, allocations: 30.11 kB / 0.7348 GB, free: 17.98 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.438e-05/2.242, allocations: 182.2 kB / 0.735 GB, free: 17.86 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.852e-05/2.242, allocations: 77 kB / 0.7351 GB, free: 17.8 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.926e-05/2.242, allocations: 51.19 kB / 0.7351 GB, free: 17.79 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001067/2.242, allocations: 341.5 kB / 0.7354 GB, free: 17.47 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/2.242, allocations: 61.81 kB / 0.7355 GB, free: 17.47 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/2.242, allocations: 139.5 kB / 0.7356 GB, free: 17.39 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002686/2.243, allocations: 216.8 kB / 0.7358 GB, free: 17.31 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/2.243, allocations: 4.25 kB / 0.7358 GB, free: 17.31 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004585/2.243, allocations: 302.7 kB / 0.7361 GB, free: 17.25 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/2.243, allocations: 6 kB / 0.7361 GB, free: 17.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/2.243, allocations: 3.281 kB / 0.7361 GB, free: 17.25 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003268/2.243, allocations: 62.95 kB / 0.7362 GB, free: 17.23 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004184/2.244, allocations: 67.78 kB / 0.7363 GB, free: 17.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006609/2.244, allocations: 1.095 MB / 0.7373 GB, free: 16.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001936/2.245, allocations: 38.94 kB / 0.7374 GB, free: 16.17 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.793e-05/2.245, allocations: 9.531 kB / 0.7374 GB, free: 16.17 MB / 0.6075 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.0001421/2.245, allocations: 153.5 kB / 0.7375 GB, free: 16.05 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.747e-05/2.245, allocations: 28.2 kB / 0.7375 GB, free: 16.04 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004688/2.245, allocations: 260.4 kB / 0.7378 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/2.245, allocations: 1.922 kB / 0.7378 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/2.245, allocations: 2.656 kB / 0.7378 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.557e-05/2.245, allocations: 105.4 kB / 0.7379 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.471e-05/2.246, allocations: 7.781 kB / 0.7379 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/2.246, allocations: 5.188 kB / 0.7379 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.589e-05/2.246, allocations: 13.28 kB / 0.7379 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007164/2.246, allocations: 333 kB / 0.7382 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004534/2.247, allocations: 453.2 kB / 0.7387 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001023/2.247, allocations: 68.94 kB / 0.7387 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001544/2.247, allocations: 204.4 kB / 0.7389 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of Backend: time 5.11e-07/2.247, allocations: 1.125 kB / 0.7389 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.005805/2.253, allocations: 0.9624 MB / 0.7399 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of SimCode: time 0.000919/2.254, allocations: 0.9987 MB / 0.7409 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of Templates: time 0.03087/2.285, allocations: 25.88 MB / 0.7661 GB, free: 9.762 MB / 0.6075 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)