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.8864/0.8864, allocations: 150.9 MB / 166.1 MB, free: 14.57 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003451/0.0003451, allocations: 15.97 kB / 204.2 MB, free: 10.03 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2402, allocations: 31.34 MB / 235.5 MB, free: 5.426 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.982/2.222, allocations: 294.3 MB / 0.5173 GB, free: 12.97 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2462/2.468, allocations: 186.9 MB / 0.6999 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006267/2.469, allocations: 7.938 kB / 0.6999 GB, free: 1.684 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.000565/2.47, allocations: 96.19 kB / 0.7 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004311/2.47, allocations: 150.8 kB / 0.7001 GB, free: 1.441 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.6362/3.106, allocations: 10.48 MB / 0.7103 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001223/3.108, allocations: 0.5769 MB / 0.7109 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004682/3.108, allocations: 304.6 kB / 0.7112 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003173/3.108, allocations: 245.2 kB / 0.7114 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003103/3.109, allocations: 245.4 kB / 0.7117 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.951e-05/3.109, allocations: 54.14 kB / 0.7117 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05166/3.16, allocations: 21.78 MB / 0.733 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003894/3.161, allocations: 113.1 kB / 0.7331 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007393/3.162, allocations: 270.5 kB / 0.7334 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.04953/3.211, allocations: 10.57 MB / 0.7437 GB, free: 252 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.073e-05/3.211, allocations: 0 / 0.7437 GB, free: 252 kB / 0.5762 GB Notification: Performance of FrontEnd: time 3.617e-06/3.211, allocations: 0.8438 kB / 0.7437 GB, free: 252 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.031e-05/3.211, allocations: 0 / 0.7437 GB, free: 252 kB / 0.5762 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.01083/3.222, allocations: 1.936 MB / 0.7456 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.994e-05/3.222, allocations: 10.19 kB / 0.7456 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002825/3.223, allocations: 61.28 kB / 0.7456 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006876/3.223, allocations: 329.4 kB / 0.746 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.413e-05/3.223, allocations: 47.45 kB / 0.746 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.877e-05/3.224, allocations: 50.75 kB / 0.746 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/3.225, allocations: 0.5395 MB / 0.7466 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.649e-05/3.225, allocations: 6.797 kB / 0.7466 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.245e-05/3.225, allocations: 23.75 kB / 0.7466 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.046e-05/3.225, allocations: 17.05 kB / 0.7466 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008067/3.226, allocations: 367.7 kB / 0.747 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004029/3.23, allocations: 2.926 MB / 0.7498 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003903/3.23, allocations: 147 kB / 0.75 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001788/3.23, allocations: 92.36 kB / 0.7501 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3294/3.56, allocations: 182.2 MB / 0.928 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.411e-05/3.56, allocations: 37.56 kB / 0.9281 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=26): time 3.436e-06/3.56, allocations: 0 / 0.9281 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=26): time 0.002143/3.562, allocations: 0.6409 MB / 0.9287 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.301e-05/3.562, allocations: 52.5 kB / 0.9287 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005263/3.563, allocations: 335.2 kB / 0.9291 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/3.563, allocations: 25.7 kB / 0.9291 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002447/3.563, allocations: 271.8 kB / 0.9293 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.737e-05/3.563, allocations: 87.66 kB / 0.9294 GB, free: 8.797 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/3.563, allocations: 83.22 kB / 0.9295 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002158/3.563, allocations: 346.7 kB / 0.9298 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001933/3.564, allocations: 78.09 kB / 0.9299 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003054/3.564, allocations: 210.2 kB / 0.9301 GB, free: 8.137 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005167/3.565, allocations: 318.2 kB / 0.9304 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.615e-06/3.565, allocations: 4 kB / 0.9304 GB, free: 7.863 MB / 0.7794 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001033/3.566, allocations: 452.7 kB / 0.9308 GB, free: 7.543 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/3.566, allocations: 8 kB / 0.9309 GB, free: 7.535 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/3.566, allocations: 4.531 kB / 0.9309 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000993/3.567, allocations: 264.9 kB / 0.9311 GB, free: 7.301 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/3.567, allocations: 43.67 kB / 0.9312 GB, free: 7.266 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001123/3.568, allocations: 1.248 MB / 0.9324 GB, free: 6.055 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002821/3.568, allocations: 58.98 kB / 0.9324 GB, free: 6 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.973e-05/3.568, allocations: 21.02 kB / 0.9324 GB, free: 5.984 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.0002231/3.568, allocations: 154.9 kB / 0.9326 GB, free: 5.852 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.466e-05/3.569, allocations: 39.19 kB / 0.9326 GB, free: 5.816 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008957/3.569, allocations: 492 kB / 0.9331 GB, free: 5.484 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006151/3.57, allocations: 367.7 kB / 0.9335 GB, free: 5.223 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/3.57, allocations: 0 / 0.9335 GB, free: 5.223 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/3.57, allocations: 3.984 kB / 0.9335 GB, free: 5.219 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001554/3.572, allocations: 1.021 MB / 0.9345 GB, free: 4.395 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/3.572, allocations: 0 / 0.9345 GB, free: 4.395 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.808e-05/3.572, allocations: 20 kB / 0.9345 GB, free: 4.375 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009543/3.581, allocations: 235.9 kB / 0.9347 GB, free: 4.172 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.323e-05/3.581, allocations: 2.25 kB / 0.9347 GB, free: 4.172 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001114/3.582, allocations: 1.267 MB / 0.9359 GB, free: 2.945 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.624e-06/3.583, allocations: 0 / 0.9359 GB, free: 2.945 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008648/3.583, allocations: 498.5 kB / 0.9364 GB, free: 2.543 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/3.584, allocations: 116 kB / 0.9365 GB, free: 2.414 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.623e-05/3.584, allocations: 7.688 kB / 0.9365 GB, free: 2.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/3.584, allocations: 8.719 kB / 0.9365 GB, free: 2.406 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.553e-05/3.584, allocations: 23.91 kB / 0.9366 GB, free: 2.383 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/3.584, allocations: 9.688 kB / 0.9366 GB, free: 2.375 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002832/3.584, allocations: 226.7 kB / 0.9368 GB, free: 2.195 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/3.584, allocations: 0 / 0.9368 GB, free: 2.195 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.005692/3.59, allocations: 1.51 MB / 0.9383 GB, free: 0.793 MB / 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.007973/3.598, allocations: 2.32 MB / 0.9405 GB, free: 14.82 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.00116/3.599, allocations: 359.9 kB / 0.9409 GB, free: 14.56 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/3.599, allocations: 7.938 kB / 0.9409 GB, free: 14.55 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0005129/3.6, allocations: 197 kB / 0.9411 GB, free: 14.41 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007955/3.6, allocations: 133.4 kB / 0.9412 GB, free: 14.3 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/3.602, allocations: 0.946 MB / 0.9421 GB, free: 13.39 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000376/3.602, allocations: 0.8341 MB / 0.9429 GB, free: 12.53 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001951/3.602, allocations: 51.2 kB / 0.943 GB, free: 12.48 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.749e-05/3.602, allocations: 32.64 kB / 0.943 GB, free: 12.45 MB / 0.795 GB Notification: Performance of SimCode: time 3.9e-07/3.602, allocations: 0 / 0.943 GB, free: 12.45 MB / 0.795 GB Notification: Performance of Templates: time 0.2842/3.887, allocations: 49.78 MB / 0.9916 GB, free: 473.8 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)