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.8477/0.8477, allocations: 150.9 MB / 167.2 MB, free: 14.52 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003761/0.0003761, allocations: 15.48 kB / 237.8 MB, free: 1.777 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06523/0.06562, allocations: 31.35 MB / 269.1 MB, free: 7.043 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.721/1.787, allocations: 294.8 MB / 0.5507 GB, free: 13.27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.178/1.965, allocations: 159.2 MB / 0.7061 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002046/1.965, allocations: 4 kB / 0.7061 GB, free: 13.49 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.0004592/1.966, allocations: 131.3 kB / 0.7062 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002966/1.966, allocations: 99.17 kB / 0.7063 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.008862/1.975, allocations: 3.384 MB / 0.7096 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0004873/1.975, allocations: 375 kB / 0.71 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002819/1.976, allocations: 188.1 kB / 0.7102 GB, free: 9.324 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002235/1.976, allocations: 151.4 kB / 0.7103 GB, free: 9.176 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002162/1.976, allocations: 159.3 kB / 0.7105 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.966e-05/1.976, allocations: 32 kB / 0.7105 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01281/1.989, allocations: 7.58 MB / 0.7179 GB, free: 1.398 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001086/1.989, allocations: 79.69 kB / 0.718 GB, free: 1.32 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002181/1.989, allocations: 179.2 kB / 0.7181 GB, free: 1.145 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.3936/2.383, allocations: 3.476 MB / 0.7215 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/2.383, allocations: 0 / 0.7215 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.903e-06/2.383, allocations: 1.25 kB / 0.7215 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.047e-06/2.383, allocations: 0 / 0.7215 GB, free: 9.77 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.004756/2.388, allocations: 0.8322 MB / 0.7224 GB, free: 9.273 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.717e-05/2.388, allocations: 7.547 kB / 0.7224 GB, free: 9.273 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/2.388, allocations: 36.97 kB / 0.7224 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002941/2.388, allocations: 253.4 kB / 0.7226 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.786e-05/2.388, allocations: 31.25 kB / 0.7227 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.148e-05/2.388, allocations: 34.94 kB / 0.7227 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006336/2.389, allocations: 423.2 kB / 0.7231 GB, free: 8.91 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/2.389, allocations: 4.562 kB / 0.7231 GB, free: 8.91 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.003e-05/2.389, allocations: 19 kB / 0.7231 GB, free: 8.91 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/2.389, allocations: 10.55 kB / 0.7231 GB, free: 8.91 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004237/2.389, allocations: 240.6 kB / 0.7234 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002211/2.392, allocations: 2.114 MB / 0.7254 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006081/2.392, allocations: 179.6 kB / 0.7256 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002416/2.393, allocations: 101.2 kB / 0.7257 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02192/2.414, allocations: 8.573 MB / 0.7341 GB, free: 18.59 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/2.415, allocations: 32.81 kB / 0.7341 GB, free: 18.55 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=23): time 4.869e-06/2.415, allocations: 1.5 kB / 0.7341 GB, free: 18.55 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.001212/2.416, allocations: 0.4897 MB / 0.7346 GB, free: 18.29 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/2.416, allocations: 53.72 kB / 0.7346 GB, free: 18.23 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003508/2.416, allocations: 287.1 kB / 0.7349 GB, free: 18.12 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/2.416, allocations: 31.98 kB / 0.7349 GB, free: 18.09 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/2.416, allocations: 170.1 kB / 0.7351 GB, free: 17.97 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.902e-05/2.416, allocations: 81.08 kB / 0.7352 GB, free: 17.92 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.389e-05/2.416, allocations: 53.31 kB / 0.7352 GB, free: 17.91 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001382/2.417, allocations: 338 kB / 0.7356 GB, free: 17.59 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/2.417, allocations: 67.53 kB / 0.7356 GB, free: 17.59 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001592/2.417, allocations: 136.5 kB / 0.7357 GB, free: 17.51 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002934/2.417, allocations: 218.1 kB / 0.736 GB, free: 17.43 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/2.417, allocations: 1.344 kB / 0.736 GB, free: 17.43 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005419/2.418, allocations: 301.8 kB / 0.7362 GB, free: 17.36 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/2.418, allocations: 6.25 kB / 0.7362 GB, free: 17.36 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/2.418, allocations: 4.312 kB / 0.7363 GB, free: 17.36 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003714/2.418, allocations: 64.69 kB / 0.7363 GB, free: 17.35 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004734/2.419, allocations: 64.42 kB / 0.7364 GB, free: 17.35 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006884/2.419, allocations: 1.101 MB / 0.7375 GB, free: 16.31 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002024/2.42, allocations: 40.25 kB / 0.7375 GB, free: 16.29 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/2.42, allocations: 10.81 kB / 0.7375 GB, free: 16.29 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.0001526/2.42, allocations: 151.2 kB / 0.7376 GB, free: 16.16 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.019e-05/2.42, allocations: 26.19 kB / 0.7377 GB, free: 16.15 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005025/2.42, allocations: 256 kB / 0.7379 GB, free: 16.09 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/2.42, allocations: 7.547 kB / 0.7379 GB, free: 16.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/2.42, allocations: 0.9062 kB / 0.7379 GB, free: 16.09 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.239e-05/2.421, allocations: 105 kB / 0.738 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.262e-05/2.421, allocations: 7.875 kB / 0.738 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/2.421, allocations: 4.156 kB / 0.738 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.199e-05/2.421, allocations: 10.02 kB / 0.738 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007701/2.422, allocations: 340.7 kB / 0.7384 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004751/2.422, allocations: 455.3 kB / 0.7388 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001233/2.422, allocations: 73.38 kB / 0.7389 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001782/2.422, allocations: 201.9 kB / 0.7391 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of Backend: time 6.51e-07/2.422, allocations: 0 / 0.7391 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.008132/2.43, allocations: 0.9576 MB / 0.74 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of SimCode: time 0.001253/2.432, allocations: 1 MB / 0.741 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of Templates: time 0.03712/2.469, allocations: 25.88 MB / 0.7662 GB, free: 9.961 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)