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.8473/0.8473, allocations: 150.9 MB / 166.5 MB, free: 14.38 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003103/0.0003103, allocations: 19.58 kB / 237.1 MB, free: 1.77 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05993/0.06026, allocations: 31.35 MB / 268.5 MB, free: 7.023 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.641/1.701, allocations: 294.8 MB / 0.55 GB, free: 13.17 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1689/1.87, allocations: 159.1 MB / 0.7055 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002217/1.87, allocations: 4 kB / 0.7055 GB, free: 13.41 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.0004739/1.871, allocations: 111.3 kB / 0.7056 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002898/1.871, allocations: 91.19 kB / 0.7057 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.009057/1.88, allocations: 3.356 MB / 0.7089 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0005662/1.881, allocations: 371 kB / 0.7093 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003876/1.881, allocations: 192.1 kB / 0.7095 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000246/1.881, allocations: 155.4 kB / 0.7096 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002462/1.882, allocations: 155.3 kB / 0.7098 GB, free: 8.996 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.297e-05/1.882, allocations: 32 kB / 0.7098 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01423/1.896, allocations: 7.588 MB / 0.7172 GB, free: 1.367 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001242/1.896, allocations: 79.69 kB / 0.7173 GB, free: 1.289 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002665/1.896, allocations: 171.2 kB / 0.7174 GB, free: 1.121 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.3119/2.208, allocations: 3.487 MB / 0.7209 GB, free: 9.625 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/2.208, allocations: 1.062 kB / 0.7209 GB, free: 9.625 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.855e-06/2.208, allocations: 0.5156 kB / 0.7209 GB, free: 9.625 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.986e-05/2.208, allocations: 0 / 0.7209 GB, free: 9.625 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.003399/2.212, allocations: 0.8398 MB / 0.7217 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/2.212, allocations: 11.17 kB / 0.7217 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.297e-05/2.212, allocations: 41.7 kB / 0.7217 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002281/2.212, allocations: 247.8 kB / 0.722 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.88e-05/2.212, allocations: 34.81 kB / 0.722 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.944e-05/2.212, allocations: 37.08 kB / 0.722 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006231/2.213, allocations: 420.6 kB / 0.7224 GB, free: 8.719 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/2.213, allocations: 0 / 0.7224 GB, free: 8.719 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.667e-05/2.213, allocations: 18.06 kB / 0.7224 GB, free: 8.719 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.889e-05/2.213, allocations: 10.83 kB / 0.7225 GB, free: 8.719 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000401/2.213, allocations: 244.8 kB / 0.7227 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002075/2.215, allocations: 2.117 MB / 0.7248 GB, free: 7.125 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000555/2.216, allocations: 181.1 kB / 0.7249 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002281/2.216, allocations: 102.5 kB / 0.725 GB, free: 7.09 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01915/2.235, allocations: 8.572 MB / 0.7334 GB, free: 18.39 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/2.236, allocations: 33.16 kB / 0.7334 GB, free: 18.35 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=23): time 2.455e-06/2.236, allocations: 0.8438 kB / 0.7334 GB, free: 18.35 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.001111/2.237, allocations: 0.4942 MB / 0.7339 GB, free: 18.09 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/2.237, allocations: 53.88 kB / 0.734 GB, free: 18.03 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003106/2.237, allocations: 284.4 kB / 0.7342 GB, free: 17.93 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/2.237, allocations: 27.69 kB / 0.7343 GB, free: 17.89 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/2.237, allocations: 184 kB / 0.7344 GB, free: 17.77 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.114e-05/2.237, allocations: 82.39 kB / 0.7345 GB, free: 17.72 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.219e-05/2.237, allocations: 48.45 kB / 0.7346 GB, free: 17.7 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001116/2.237, allocations: 342.5 kB / 0.7349 GB, free: 17.39 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/2.238, allocations: 67.45 kB / 0.735 GB, free: 17.38 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001492/2.238, allocations: 135.8 kB / 0.7351 GB, free: 17.3 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00029/2.238, allocations: 223.5 kB / 0.7353 GB, free: 17.23 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/2.238, allocations: 0 / 0.7353 GB, free: 17.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004961/2.238, allocations: 303 kB / 0.7356 GB, free: 17.16 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/2.239, allocations: 5.812 kB / 0.7356 GB, free: 17.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/2.239, allocations: 4.688 kB / 0.7356 GB, free: 17.16 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003267/2.239, allocations: 65.33 kB / 0.7357 GB, free: 17.14 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000412/2.239, allocations: 60.19 kB / 0.7357 GB, free: 17.14 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006275/2.24, allocations: 1.1 MB / 0.7368 GB, free: 16.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001868/2.24, allocations: 42.36 kB / 0.7368 GB, free: 16.08 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/2.24, allocations: 8.312 kB / 0.7368 GB, free: 16.08 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.0001453/2.24, allocations: 146.7 kB / 0.737 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.665e-05/2.24, allocations: 31 kB / 0.737 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005048/2.241, allocations: 266.5 kB / 0.7373 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.789e-06/2.241, allocations: 4.188 kB / 0.7373 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/2.241, allocations: 0.875 kB / 0.7373 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/2.241, allocations: 7.531 kB / 0.7373 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009183/2.242, allocations: 0.6603 MB / 0.7379 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.768e-06/2.242, allocations: 2.938 kB / 0.7379 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002347/2.242, allocations: 33.66 kB / 0.738 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002258/2.242, allocations: 57.86 kB / 0.738 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/2.242, allocations: 10.89 kB / 0.738 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005854/2.243, allocations: 1.094 MB / 0.7391 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/2.243, allocations: 0 / 0.7391 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004229/2.243, allocations: 342.8 kB / 0.7394 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.516e-05/2.243, allocations: 110.6 kB / 0.7395 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.417e-05/2.244, allocations: 3.688 kB / 0.7395 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/2.244, allocations: 9.422 kB / 0.7395 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.984e-05/2.244, allocations: 12.39 kB / 0.7395 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/2.244, allocations: 6.812 kB / 0.7396 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001594/2.244, allocations: 205.2 kB / 0.7397 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/2.244, allocations: 0 / 0.7397 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001749/2.246, allocations: 414.6 kB / 0.7401 GB, free: 14.06 MB / 0.6075 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 (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 Backend phase and start with SimCode phase: time 0.00157/2.247, allocations: 0.511 MB / 0.7406 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004838/2.248, allocations: 205.1 kB / 0.7408 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/2.248, allocations: 0.5625 kB / 0.7408 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002104/2.248, allocations: 105.1 kB / 0.7409 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005046/2.248, allocations: 80.78 kB / 0.741 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007825/2.249, allocations: 0.5193 MB / 0.7415 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/2.25, allocations: 0.7647 MB / 0.7423 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.86e-05/2.25, allocations: 30.42 kB / 0.7423 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.724e-05/2.25, allocations: 22.41 kB / 0.7423 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/2.25, allocations: 0 / 0.7423 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of Templates: time 0.01851/2.268, allocations: 14.75 MB / 0.7567 GB, free: 12.14 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)