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.8333/0.8333, allocations: 150.9 MB / 166.5 MB, free: 14.16 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003531/0.0003531, allocations: 16.77 kB / 237.1 MB, free: 1.844 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05572/0.0561, allocations: 31.36 MB / 268.5 MB, free: 7.016 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.656/1.712, allocations: 294.8 MB / 0.55 GB, free: 13.07 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1545/1.866, allocations: 159.1 MB / 0.7054 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000191/1.867, allocations: 4 kB / 0.7054 GB, free: 13.31 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.0004174/1.867, allocations: 135.3 kB / 0.7056 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002494/1.867, allocations: 103.2 kB / 0.7057 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.007965/1.875, allocations: 3.384 MB / 0.709 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0004231/1.876, allocations: 375 kB / 0.7093 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002703/1.876, allocations: 188.1 kB / 0.7095 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001977/1.876, allocations: 159.4 kB / 0.7096 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001825/1.876, allocations: 155.3 kB / 0.7098 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.908e-05/1.876, allocations: 32 kB / 0.7098 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01179/1.888, allocations: 7.584 MB / 0.7172 GB, free: 1.211 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 8.626e-05/1.888, allocations: 75.7 kB / 0.7173 GB, free: 1.137 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000186/1.889, allocations: 175.2 kB / 0.7175 GB, free: 0.9648 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.2834/2.172, allocations: 3.48 MB / 0.7209 GB, free: 9.793 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/2.172, allocations: 0 / 0.7209 GB, free: 9.793 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.204e-06/2.172, allocations: 0 / 0.7209 GB, free: 9.793 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.747e-06/2.172, allocations: 0 / 0.7209 GB, free: 9.793 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.003072/2.175, allocations: 0.8308 MB / 0.7217 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/2.175, allocations: 10.47 kB / 0.7217 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.543e-05/2.175, allocations: 39.69 kB / 0.7217 GB, free: 9.277 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/2.175, allocations: 246.1 kB / 0.722 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.606e-05/2.176, allocations: 32.03 kB / 0.722 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.235e-05/2.176, allocations: 37.94 kB / 0.722 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005789/2.176, allocations: 423.9 kB / 0.7224 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/2.176, allocations: 2.031 kB / 0.7224 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.879e-05/2.176, allocations: 18.38 kB / 0.7225 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/2.176, allocations: 13.41 kB / 0.7225 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004008/2.177, allocations: 237.8 kB / 0.7227 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001801/2.178, allocations: 2.119 MB / 0.7248 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005249/2.179, allocations: 179.3 kB / 0.7249 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002018/2.179, allocations: 101.4 kB / 0.725 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02014/2.199, allocations: 8.576 MB / 0.7334 GB, free: 18.61 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/2.199, allocations: 32.56 kB / 0.7334 GB, free: 18.57 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=23): time 2.074e-06/2.199, allocations: 1.281 kB / 0.7334 GB, free: 18.57 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.001095/2.201, allocations: 498.1 kB / 0.7339 GB, free: 18.31 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/2.201, allocations: 53.69 kB / 0.734 GB, free: 18.25 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003142/2.201, allocations: 286.9 kB / 0.7342 GB, free: 18.14 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/2.201, allocations: 31.42 kB / 0.7343 GB, free: 18.11 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/2.201, allocations: 176.6 kB / 0.7344 GB, free: 17.99 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.349e-05/2.201, allocations: 79.48 kB / 0.7345 GB, free: 17.94 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.681e-05/2.201, allocations: 52.89 kB / 0.7346 GB, free: 17.93 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001248/2.201, allocations: 342.5 kB / 0.7349 GB, free: 17.61 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/2.201, allocations: 63.33 kB / 0.7349 GB, free: 17.61 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001579/2.202, allocations: 138.7 kB / 0.7351 GB, free: 17.53 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002803/2.202, allocations: 215.9 kB / 0.7353 GB, free: 17.45 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/2.202, allocations: 2.281 kB / 0.7353 GB, free: 17.45 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005/2.202, allocations: 297.6 kB / 0.7356 GB, free: 17.38 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/2.202, allocations: 11.27 kB / 0.7356 GB, free: 17.38 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/2.202, allocations: 0.7812 kB / 0.7356 GB, free: 17.38 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003401/2.203, allocations: 70.83 kB / 0.7357 GB, free: 17.37 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004306/2.203, allocations: 60.98 kB / 0.7357 GB, free: 17.37 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006197/2.204, allocations: 1.094 MB / 0.7368 GB, free: 16.33 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001791/2.204, allocations: 44.56 kB / 0.7368 GB, free: 16.3 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.65e-05/2.204, allocations: 11.77 kB / 0.7368 GB, free: 16.3 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.0001415/2.204, allocations: 153.2 kB / 0.737 GB, free: 16.18 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.715e-05/2.204, allocations: 26.05 kB / 0.737 GB, free: 16.17 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004837/2.205, allocations: 257.4 kB / 0.7372 GB, free: 16.11 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.398e-06/2.205, allocations: 7.188 kB / 0.7373 GB, free: 16.11 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/2.205, allocations: 1.641 kB / 0.7373 GB, free: 16.11 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/2.205, allocations: 4.875 kB / 0.7373 GB, free: 16.1 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008838/2.206, allocations: 0.6564 MB / 0.7379 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/2.206, allocations: 0 / 0.7379 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002427/2.206, allocations: 34.53 kB / 0.7379 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002243/2.206, allocations: 61.25 kB / 0.738 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/2.206, allocations: 3.562 kB / 0.738 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005827/2.207, allocations: 1.095 MB / 0.7391 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/2.207, allocations: 2.094 kB / 0.7391 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003947/2.207, allocations: 352.8 kB / 0.7394 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.218e-05/2.207, allocations: 114.6 kB / 0.7395 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.662e-05/2.207, allocations: 5.656 kB / 0.7395 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/2.207, allocations: 9.406 kB / 0.7395 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.144e-05/2.208, allocations: 6.641 kB / 0.7395 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/2.208, allocations: 10.47 kB / 0.7395 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001614/2.208, allocations: 200.8 kB / 0.7397 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/2.208, allocations: 0.5 kB / 0.7397 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001812/2.21, allocations: 407.4 kB / 0.7401 GB, free: 14.29 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.001555/2.211, allocations: 0.502 MB / 0.7406 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004912/2.212, allocations: 201.8 kB / 0.7408 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/2.212, allocations: 0 / 0.7408 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002093/2.212, allocations: 98.73 kB / 0.7409 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005464/2.212, allocations: 88.84 kB / 0.741 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008472/2.213, allocations: 0.5182 MB / 0.7415 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/2.214, allocations: 0.7627 MB / 0.7422 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001065/2.214, allocations: 27.98 kB / 0.7423 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/2.214, allocations: 22.47 kB / 0.7423 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of SimCode: time 7.71e-07/2.214, allocations: 0 / 0.7423 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of Templates: time 0.01833/2.232, allocations: 14.76 MB / 0.7567 GB, free: 12.37 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)