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.9688/0.9688, allocations: 150.8 MB / 166.1 MB, free: 15.61 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.942e-05/1.961e-05, allocations: 4 kB / 204.8 MB, free: 10.19 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.234, allocations: 31.98 MB / 236.8 MB, free: 5.629 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestAirHumidity): time 2.01/2.244, allocations: 294.3 MB / 0.5186 GB, free: 13.02 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2379/2.482, allocations: 187.9 MB / 0.7021 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005123/2.482, allocations: 7.938 kB / 0.7021 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003715/2.483, allocations: 83.48 kB / 0.7021 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004554/2.483, allocations: 154.8 kB / 0.7023 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.5626/3.046, allocations: 9.189 MB / 0.7113 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001352/3.047, allocations: 0.5452 MB / 0.7118 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006827/3.048, allocations: 256.8 kB / 0.712 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006802/3.048, allocations: 191.1 kB / 0.7122 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005726/3.049, allocations: 201.6 kB / 0.7124 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001226/3.049, allocations: 23.94 kB / 0.7124 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0525/3.102, allocations: 21.94 MB / 0.7339 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002783/3.102, allocations: 71.53 kB / 0.7339 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005893/3.103, allocations: 259.5 kB / 0.7342 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.04246/3.145, allocations: 10.44 MB / 0.7444 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.216e-06/3.145, allocations: 1.5 kB / 0.7444 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of FrontEnd: time 5.059e-06/3.145, allocations: 0 / 0.7444 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.208e-05/3.145, allocations: 0 / 0.7444 GB, free: 15.64 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.009852/3.155, allocations: 1.842 MB / 0.7462 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 7.305e-05/3.155, allocations: 8.281 kB / 0.7462 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002951/3.156, allocations: 63.75 kB / 0.7462 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006892/3.156, allocations: 324.9 kB / 0.7466 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.343e-05/3.156, allocations: 42.38 kB / 0.7466 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/3.156, allocations: 52.84 kB / 0.7466 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/3.158, allocations: 0.5425 MB / 0.7472 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.426e-05/3.158, allocations: 0 / 0.7472 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.405e-05/3.158, allocations: 26.5 kB / 0.7472 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.672e-05/3.158, allocations: 14.53 kB / 0.7472 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008337/3.159, allocations: 363.7 kB / 0.7476 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003814/3.162, allocations: 2.935 MB / 0.7504 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003587/3.163, allocations: 149.1 kB / 0.7506 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000178/3.163, allocations: 91.64 kB / 0.7507 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.374/3.537, allocations: 183.6 MB / 0.9299 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.186e-05/3.537, allocations: 30.56 kB / 0.9299 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=26): time 2.484e-06/3.537, allocations: 0 / 0.9299 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of matching and sorting (n=26): time 0.002066/3.539, allocations: 0.649 MB / 0.9306 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.829e-05/3.539, allocations: 55.41 kB / 0.9306 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004854/3.54, allocations: 334.7 kB / 0.931 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/3.54, allocations: 29.39 kB / 0.931 GB, free: 8.797 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002246/3.54, allocations: 276.8 kB / 0.9312 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.462e-05/3.54, allocations: 88.16 kB / 0.9313 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.048e-05/3.54, allocations: 46.47 kB / 0.9314 GB, free: 8.465 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001392/3.54, allocations: 341.6 kB / 0.9317 GB, free: 8.137 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001998/3.541, allocations: 81.83 kB / 0.9318 GB, free: 8.086 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000261/3.541, allocations: 207 kB / 0.932 GB, free: 7.871 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004604/3.541, allocations: 309.8 kB / 0.9323 GB, free: 7.609 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/3.541, allocations: 0 / 0.9323 GB, free: 7.609 MB / 0.7794 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001067/3.543, allocations: 467.8 kB / 0.9327 GB, free: 7.273 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.651e-05/3.543, allocations: 5.25 kB / 0.9327 GB, free: 7.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.873e-05/3.543, allocations: 4 kB / 0.9327 GB, free: 7.266 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001073/3.544, allocations: 255.4 kB / 0.933 GB, free: 7.039 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/3.544, allocations: 44.75 kB / 0.933 GB, free: 7 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001251/3.545, allocations: 1.252 MB / 0.9342 GB, free: 5.785 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000329/3.545, allocations: 52.38 kB / 0.9343 GB, free: 5.738 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.031e-05/3.545, allocations: 25.97 kB / 0.9343 GB, free: 5.719 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.0002725/3.546, allocations: 155.8 kB / 0.9345 GB, free: 5.586 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.432e-05/3.546, allocations: 35.56 kB / 0.9345 GB, free: 5.551 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001128/3.547, allocations: 499.8 kB / 0.935 GB, free: 5.219 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007027/3.548, allocations: 368.9 kB / 0.9353 GB, free: 4.957 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.363e-06/3.548, allocations: 0 / 0.9353 GB, free: 4.957 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/3.548, allocations: 0 / 0.9353 GB, free: 4.957 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001797/3.55, allocations: 1.014 MB / 0.9363 GB, free: 4.137 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/3.55, allocations: 0 / 0.9363 GB, free: 4.137 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.516e-05/3.55, allocations: 26.89 kB / 0.9363 GB, free: 4.113 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008663/3.551, allocations: 269.9 kB / 0.9366 GB, free: 3.875 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.409e-05/3.551, allocations: 7.812 kB / 0.9366 GB, free: 3.871 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00101/3.552, allocations: 1.26 MB / 0.9378 GB, free: 2.648 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/3.552, allocations: 0 / 0.9378 GB, free: 2.648 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008053/3.552, allocations: 0.4902 MB / 0.9383 GB, free: 2.242 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001435/3.553, allocations: 116.2 kB / 0.9384 GB, free: 2.113 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.348e-05/3.553, allocations: 3.797 kB / 0.9384 GB, free: 2.113 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/3.553, allocations: 23.36 kB / 0.9384 GB, free: 2.094 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.966e-05/3.553, allocations: 19.23 kB / 0.9385 GB, free: 2.078 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/3.553, allocations: 7.984 kB / 0.9385 GB, free: 2.07 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002668/3.553, allocations: 228.5 kB / 0.9387 GB, free: 1.891 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2e-07/3.553, allocations: 0 / 0.9387 GB, free: 1.891 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.005956/3.559, allocations: 1.512 MB / 0.9402 GB, free: 492 kB / 0.7794 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.01138/3.571, allocations: 2.281 MB / 0.9424 GB, free: 14.52 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001386/3.572, allocations: 364.1 kB / 0.9427 GB, free: 14.25 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/3.572, allocations: 8.188 kB / 0.9427 GB, free: 14.24 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0006121/3.573, allocations: 178.2 kB / 0.9429 GB, free: 14.11 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/3.574, allocations: 131.9 kB / 0.943 GB, free: 14.02 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001987/3.576, allocations: 0.9622 MB / 0.944 GB, free: 13.09 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004851/3.576, allocations: 0.8292 MB / 0.9448 GB, free: 12.23 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002861/3.577, allocations: 51.2 kB / 0.9448 GB, free: 12.18 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.132e-05/3.577, allocations: 31.44 kB / 0.9449 GB, free: 12.15 MB / 0.795 GB Notification: Performance of SimCode: time 8.51e-07/3.577, allocations: 0 / 0.9449 GB, free: 12.15 MB / 0.795 GB Notification: Performance of Templates: time 0.3248/3.901, allocations: 48.64 MB / 0.9924 GB, free: 458.1 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestAirHumidity.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: