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.9218/0.9218, allocations: 150.9 MB / 167.1 MB, free: 14.54 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003334/0.0003335, allocations: 11.98 kB / 206 MB, free: 9.07 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1552, allocations: 31.33 MB / 237.3 MB, free: 5.723 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.634/1.79, allocations: 295.2 MB / 0.52 GB, free: 12.6 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.5091/2.299, allocations: 188.8 MB / 0.7044 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004074/2.299, allocations: 8.812 kB / 0.7044 GB, free: 2.062 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.0005312/2.3, allocations: 122.9 kB / 0.7045 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005539/2.3, allocations: 166.3 kB / 0.7047 GB, free: 2.062 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:783:9-783:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:850:9-850:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:1088:9-1088:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/Fluid/derDensity_derP_derh.mo:63:5-63:84:writable] Warning: T was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.03137/2.332, allocations: 11.92 MB / 0.7163 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000835/2.333, allocations: 0.5755 MB / 0.7169 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003522/2.333, allocations: 311.1 kB / 0.7171 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002436/2.333, allocations: 248.4 kB / 0.7174 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002537/2.333, allocations: 245.8 kB / 0.7176 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.362e-05/2.333, allocations: 51.75 kB / 0.7177 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03653/2.37, allocations: 21.85 MB / 0.739 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002033/2.37, allocations: 113.5 kB / 0.7391 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004121/2.371, allocations: 273.7 kB / 0.7394 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02737/2.398, allocations: 10.51 MB / 0.7496 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/2.398, allocations: 0 / 0.7496 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.934e-06/2.398, allocations: 6.5 kB / 0.7496 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.053e-05/2.398, allocations: 0 / 0.7496 GB, free: 13.92 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.005015/2.403, allocations: 1.935 MB / 0.7515 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/2.403, allocations: 9.375 kB / 0.7515 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/2.403, allocations: 59.62 kB / 0.7516 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004273/2.404, allocations: 350 kB / 0.7519 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.904e-05/2.404, allocations: 38.97 kB / 0.752 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.844e-05/2.404, allocations: 52.03 kB / 0.752 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007659/2.405, allocations: 0.5428 MB / 0.7525 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/2.405, allocations: 8.016 kB / 0.7526 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.982e-05/2.405, allocations: 27.16 kB / 0.7526 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/2.405, allocations: 13 kB / 0.7526 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005611/2.405, allocations: 360.2 kB / 0.7529 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002692/2.408, allocations: 2.918 MB / 0.7558 GB, free: 9.668 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003378/2.408, allocations: 150.3 kB / 0.7559 GB, free: 9.633 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001694/2.409, allocations: 90.41 kB / 0.756 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3267/2.735, allocations: 183.2 MB / 0.9349 GB, free: 5.773 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/2.735, allocations: 37.81 kB / 0.9349 GB, free: 5.73 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=26): time 3.226e-06/2.735, allocations: 4 kB / 0.9349 GB, free: 5.727 MB / 0.7794 GB Notification: Performance of matching and sorting (n=26): time 0.001696/2.737, allocations: 0.6421 MB / 0.9356 GB, free: 5.148 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/2.737, allocations: 51.41 kB / 0.9356 GB, free: 5.086 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003726/2.737, allocations: 334 kB / 0.9359 GB, free: 4.82 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/2.738, allocations: 29.64 kB / 0.936 GB, free: 4.789 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/2.738, allocations: 273.6 kB / 0.9362 GB, free: 4.57 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.626e-05/2.738, allocations: 83.75 kB / 0.9363 GB, free: 4.496 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/2.738, allocations: 86.31 kB / 0.9364 GB, free: 4.434 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001127/2.738, allocations: 344.2 kB / 0.9367 GB, free: 4.102 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001798/2.738, allocations: 85.44 kB / 0.9368 GB, free: 4.051 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002481/2.738, allocations: 205.2 kB / 0.937 GB, free: 3.832 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004339/2.739, allocations: 309.4 kB / 0.9373 GB, free: 3.492 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/2.739, allocations: 3.984 kB / 0.9373 GB, free: 3.488 MB / 0.7794 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009003/2.74, allocations: 459.9 kB / 0.9377 GB, free: 3.051 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/2.74, allocations: 4 kB / 0.9377 GB, free: 3.047 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/2.74, allocations: 4 kB / 0.9377 GB, free: 3.043 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009894/2.741, allocations: 267.2 kB / 0.938 GB, free: 2.777 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/2.741, allocations: 46.27 kB / 0.938 GB, free: 2.738 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00098/2.742, allocations: 1.25 MB / 0.9393 GB, free: 1.441 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002366/2.742, allocations: 50.56 kB / 0.9393 GB, free: 1.395 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.897e-05/2.742, allocations: 19.98 kB / 0.9393 GB, free: 1.375 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.0001781/2.742, allocations: 165.7 kB / 0.9395 GB, free: 1.207 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.854e-05/2.743, allocations: 31.62 kB / 0.9395 GB, free: 1.176 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008677/2.743, allocations: 489.3 kB / 0.94 GB, free: 0.6914 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006274/2.744, allocations: 368.6 kB / 0.9403 GB, free: 336 kB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/2.744, allocations: 0 / 0.9403 GB, free: 336 kB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/2.744, allocations: 0 / 0.9403 GB, free: 336 kB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001489/2.746, allocations: 1.012 MB / 0.9413 GB, free: 15.27 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/2.746, allocations: 0 / 0.9413 GB, free: 15.27 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.597e-05/2.746, allocations: 27.08 kB / 0.9414 GB, free: 15.24 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007094/2.746, allocations: 226.5 kB / 0.9416 GB, free: 15.02 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.015e-05/2.746, allocations: 8 kB / 0.9416 GB, free: 15.01 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008876/2.747, allocations: 1.261 MB / 0.9428 GB, free: 13.7 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/2.747, allocations: 0 / 0.9428 GB, free: 13.7 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007241/2.748, allocations: 0.4926 MB / 0.9433 GB, free: 13.19 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 8.601e-05/2.748, allocations: 109.9 kB / 0.9434 GB, free: 13.06 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.431e-05/2.748, allocations: 8 kB / 0.9434 GB, free: 13.05 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/2.748, allocations: 15.91 kB / 0.9434 GB, free: 13.04 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.029e-05/2.748, allocations: 11.98 kB / 0.9434 GB, free: 13.03 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/2.748, allocations: 12 kB / 0.9434 GB, free: 13.02 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0002309/2.749, allocations: 227 kB / 0.9437 GB, free: 12.79 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.41e-07/2.749, allocations: 0 / 0.9437 GB, free: 12.79 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.003946/2.753, allocations: 1.514 MB / 0.9451 GB, free: 11.28 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.005972/2.759, allocations: 2.23 MB / 0.9473 GB, free: 9.32 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001021/2.76, allocations: 376.1 kB / 0.9477 GB, free: 8.965 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/2.76, allocations: 3.938 kB / 0.9477 GB, free: 8.961 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0005005/2.76, allocations: 182.6 kB / 0.9478 GB, free: 8.789 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007609/2.761, allocations: 149.2 kB / 0.948 GB, free: 8.648 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/2.762, allocations: 0.731 MB / 0.9487 GB, free: 7.902 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003359/2.763, allocations: 0.8312 MB / 0.9495 GB, free: 7.043 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001541/2.763, allocations: 48.38 kB / 0.9496 GB, free: 7 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.244e-05/2.763, allocations: 43.36 kB / 0.9496 GB, free: 6.957 MB / 0.795 GB Notification: Performance of SimCode: time 4.11e-07/2.763, allocations: 0 / 0.9496 GB, free: 6.957 MB / 0.795 GB Notification: Performance of Templates: time 0.2352/2.998, allocations: 49.33 MB / 0.9978 GB, free: 472.7 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 -s gbode -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestAirHumidity.pipe 2>&1)