Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.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.Fluid.Examples.SimpleExamples.TestAirHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestAirHumidity") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestAirHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestAirHumidity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8551/0.8551, allocations: 150.9 MB / 166 MB, free: 14.65 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003299/0.0003299, allocations: 11.98 kB / 204 MB, free: 10.12 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2257, allocations: 31.33 MB / 235.4 MB, free: 5.434 MB / 190.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.Fluid.Examples.SimpleExamples.TestAirHumidity): time 1.844/2.07, allocations: 293.3 MB / 0.5163 GB, free: 13.19 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.7076/2.778, allocations: 190.1 MB / 0.7019 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000574/2.778, allocations: 9.219 kB / 0.7019 GB, free: 3.98 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/AirHumidity.mo:39:3-40:54:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/AirHumidity.mo:47:3-48:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/SingularPressureLoss.mo:27:3-28:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/SingularPressureLoss.mo:29:3-30:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/Sink.mo:39:3-40:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourcePQ.mo:74:3-75:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0005577/2.779, allocations: 94.73 kB / 0.702 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004631/2.779, allocations: 143.5 kB / 0.7022 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.03996/2.819, allocations: 9.033 MB / 0.711 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001264/2.82, allocations: 0.5396 MB / 0.7115 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004137/2.821, allocations: 290.3 kB / 0.7118 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003039/2.821, allocations: 226.3 kB / 0.712 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003048/2.822, allocations: 242.1 kB / 0.7122 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.966e-05/2.822, allocations: 35.94 kB / 0.7123 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04958/2.871, allocations: 21.85 MB / 0.7336 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000336/2.872, allocations: 103.3 kB / 0.7337 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005877/2.872, allocations: 257 kB / 0.734 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.04405/2.916, allocations: 10.55 MB / 0.7443 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.438e-05/2.916, allocations: 3.984 kB / 0.7443 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.745e-06/2.916, allocations: 0 / 0.7443 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.94e-05/2.916, allocations: 2.906 kB / 0.7443 GB, free: 15.72 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.009091/2.925, allocations: 1.936 MB / 0.7462 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.248e-05/2.926, allocations: 9.625 kB / 0.7462 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002286/2.926, allocations: 62.34 kB / 0.7462 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006139/2.926, allocations: 330.2 kB / 0.7465 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.827e-05/2.926, allocations: 40.09 kB / 0.7466 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.411e-05/2.927, allocations: 50.06 kB / 0.7466 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/2.928, allocations: 0.5461 MB / 0.7472 GB, free: 14 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.322e-05/2.928, allocations: 5.844 kB / 0.7472 GB, free: 14 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.667e-05/2.928, allocations: 17.19 kB / 0.7472 GB, free: 14 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.262e-05/2.928, allocations: 20.48 kB / 0.7472 GB, free: 14 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007836/2.929, allocations: 364.8 kB / 0.7475 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003784/2.932, allocations: 2.933 MB / 0.7504 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003848/2.933, allocations: 153.4 kB / 0.7506 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001724/2.933, allocations: 83.94 kB / 0.7506 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3381/3.271, allocations: 182.2 MB / 0.9286 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.866e-05/3.271, allocations: 39.64 kB / 0.9286 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=26): time 2.164e-06/3.271, allocations: 0 / 0.9286 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of matching and sorting (n=26): time 0.002011/3.273, allocations: 0.6394 MB / 0.9293 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/3.273, allocations: 57.91 kB / 0.9293 GB, free: 8.602 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000506/3.274, allocations: 333.6 kB / 0.9296 GB, free: 8.332 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.897e-05/3.274, allocations: 27.89 kB / 0.9297 GB, free: 8.301 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000244/3.274, allocations: 274.1 kB / 0.9299 GB, free: 8.082 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.778e-05/3.274, allocations: 87.25 kB / 0.93 GB, free: 8.004 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001363/3.274, allocations: 83.12 kB / 0.9301 GB, free: 7.941 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001513/3.274, allocations: 347.2 kB / 0.9304 GB, free: 7.609 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002223/3.275, allocations: 82.14 kB / 0.9305 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002813/3.275, allocations: 204.6 kB / 0.9307 GB, free: 7.344 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004828/3.275, allocations: 319.7 kB / 0.931 GB, free: 7.074 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/3.275, allocations: 0 / 0.931 GB, free: 7.074 MB / 0.7794 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001018/3.277, allocations: 455.4 kB / 0.9314 GB, free: 6.75 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/3.277, allocations: 4 kB / 0.9314 GB, free: 6.746 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/3.277, allocations: 4 kB / 0.9314 GB, free: 6.742 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001012/3.278, allocations: 262.8 kB / 0.9317 GB, free: 6.512 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/3.278, allocations: 44.88 kB / 0.9317 GB, free: 6.477 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001066/3.279, allocations: 1.253 MB / 0.9329 GB, free: 5.258 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003105/3.279, allocations: 42.94 kB / 0.933 GB, free: 5.219 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.063e-05/3.279, allocations: 27.38 kB / 0.933 GB, free: 5.199 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 7 (sourceFlueGasesPQ.fluid1,sourceFlueGasesPQ.C.ftype,airHumidity.fluid,singularPressureLoss.fluid,sinkFlueGases.fluid,singularPressureLoss.C2.diff_on_1,airHumidity.C1.diff_on_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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), (4,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002414/3.279, allocations: 161 kB / 0.9332 GB, free: 5.062 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.429e-05/3.28, allocations: 35.69 kB / 0.9332 GB, free: 5.027 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009086/3.28, allocations: 492.8 kB / 0.9337 GB, free: 4.691 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006776/3.281, allocations: 363.8 kB / 0.934 GB, free: 4.438 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/3.281, allocations: 0 / 0.934 GB, free: 4.438 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/3.281, allocations: 0 / 0.934 GB, free: 4.438 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00167/3.283, allocations: 1.015 MB / 0.935 GB, free: 3.613 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/3.283, allocations: 2.906 kB / 0.935 GB, free: 3.613 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.311e-05/3.283, allocations: 23.61 kB / 0.935 GB, free: 3.594 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008075/3.284, allocations: 271.8 kB / 0.9353 GB, free: 3.355 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.274e-05/3.284, allocations: 11.8 kB / 0.9353 GB, free: 3.348 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009795/3.285, allocations: 1.253 MB / 0.9365 GB, free: 2.133 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/3.285, allocations: 13.17 kB / 0.9365 GB, free: 2.121 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007519/3.286, allocations: 492.7 kB / 0.937 GB, free: 1.73 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/3.286, allocations: 119.7 kB / 0.9371 GB, free: 1.598 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.009e-05/3.286, allocations: 12.81 kB / 0.9371 GB, free: 1.586 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001801/3.286, allocations: 9.312 kB / 0.9371 GB, free: 1.582 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.537e-05/3.286, allocations: 15.97 kB / 0.9372 GB, free: 1.566 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/3.286, allocations: 11.69 kB / 0.9372 GB, free: 1.559 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002481/3.286, allocations: 223 kB / 0.9374 GB, free: 1.379 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.11e-07/3.286, allocations: 0 / 0.9374 GB, free: 1.379 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.005227/3.292, allocations: 1.51 MB / 0.9389 GB, free: 15.97 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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), (4,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009489/3.301, allocations: 2.33 MB / 0.9411 GB, free: 14 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001146/3.302, allocations: 357.3 kB / 0.9415 GB, free: 13.73 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.87e-06/3.302, allocations: 0 / 0.9415 GB, free: 13.73 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0005517/3.303, allocations: 180.2 kB / 0.9416 GB, free: 13.61 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000873/3.304, allocations: 133.4 kB / 0.9418 GB, free: 13.5 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/3.305, allocations: 0.9491 MB / 0.9427 GB, free: 12.59 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003854/3.306, allocations: 0.8313 MB / 0.9435 GB, free: 11.73 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002603/3.306, allocations: 48.42 kB / 0.9436 GB, free: 11.69 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.099e-05/3.306, allocations: 27.44 kB / 0.9436 GB, free: 11.66 MB / 0.795 GB Notification: Performance of SimCode: time 3.21e-07/3.306, allocations: 0 / 0.9436 GB, free: 11.66 MB / 0.795 GB Notification: Performance of Templates: time 0.2778/3.584, allocations: 49.27 MB / 0.9917 GB, free: 473.3 MB / 0.8262 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestAirHumidity.makefile (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestAirHumidity.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestAirHumidity.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestAirHumidity.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestAirHumidity.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestAirHumidity -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestAirHumidity.pipe 2>&1)