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.8461/0.8461, allocations: 150.9 MB / 167.1 MB, free: 14.48 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003882/0.0003883, allocations: 19.95 kB / 205.9 MB, free: 9.035 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.173, allocations: 31.32 MB / 237.3 MB, free: 5.75 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.835/2.008, allocations: 295.2 MB / 0.52 GB, free: 12.57 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.6779/2.686, allocations: 188.8 MB / 0.7044 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004845/2.687, allocations: 9.281 kB / 0.7044 GB, free: 2.094 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.0005027/2.687, allocations: 122.2 kB / 0.7045 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004515/2.688, allocations: 165.3 kB / 0.7046 GB, free: 2.094 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.03745/2.725, allocations: 11.92 MB / 0.7163 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001017/2.726, allocations: 0.5736 MB / 0.7168 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004021/2.727, allocations: 309.3 kB / 0.7171 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003176/2.727, allocations: 238.4 kB / 0.7174 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000306/2.727, allocations: 254.8 kB / 0.7176 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.783e-05/2.727, allocations: 51.22 kB / 0.7177 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04623/2.774, allocations: 21.84 MB / 0.739 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002994/2.774, allocations: 110 kB / 0.7391 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000607/2.775, allocations: 276.1 kB / 0.7394 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.03539/2.81, allocations: 10.5 MB / 0.7496 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.784e-06/2.81, allocations: 3.406 kB / 0.7496 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.304e-06/2.81, allocations: 0 / 0.7496 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.103e-05/2.81, allocations: 3.25 kB / 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.006871/2.817, allocations: 1.931 MB / 0.7515 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/2.817, allocations: 13.88 kB / 0.7515 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001359/2.817, allocations: 57.44 kB / 0.7516 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005391/2.818, allocations: 350.2 kB / 0.7519 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.183e-05/2.818, allocations: 40.34 kB / 0.7519 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.929e-05/2.818, allocations: 53.62 kB / 0.752 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008751/2.819, allocations: 0.5446 MB / 0.7525 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/2.819, allocations: 3.984 kB / 0.7525 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.496e-05/2.819, allocations: 26.84 kB / 0.7526 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.893e-05/2.819, allocations: 13.38 kB / 0.7526 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006019/2.819, allocations: 361.7 kB / 0.7529 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002956/2.822, allocations: 2.926 MB / 0.7558 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003625/2.823, allocations: 145.3 kB / 0.7559 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001867/2.823, allocations: 88.86 kB / 0.756 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3477/3.171, allocations: 183.2 MB / 0.9349 GB, free: 5.809 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.734e-05/3.171, allocations: 38.56 kB / 0.9349 GB, free: 5.762 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=26): time 2.946e-06/3.171, allocations: 0 / 0.9349 GB, free: 5.762 MB / 0.7794 GB Notification: Performance of matching and sorting (n=26): time 0.001977/3.173, allocations: 0.6388 MB / 0.9356 GB, free: 5.184 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/3.173, allocations: 58.59 kB / 0.9356 GB, free: 5.117 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00048/3.173, allocations: 331.8 kB / 0.9359 GB, free: 4.855 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.008e-05/3.173, allocations: 29.91 kB / 0.936 GB, free: 4.824 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002099/3.174, allocations: 273.1 kB / 0.9362 GB, free: 4.605 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.648e-05/3.174, allocations: 90.02 kB / 0.9363 GB, free: 4.531 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001489/3.174, allocations: 81.66 kB / 0.9364 GB, free: 4.469 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001283/3.174, allocations: 347.2 kB / 0.9367 GB, free: 4.133 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001981/3.174, allocations: 78.59 kB / 0.9368 GB, free: 4.086 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002806/3.175, allocations: 206.5 kB / 0.937 GB, free: 3.859 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004693/3.175, allocations: 313.3 kB / 0.9373 GB, free: 3.516 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/3.175, allocations: 0 / 0.9373 GB, free: 3.516 MB / 0.7794 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.00101/3.176, allocations: 456.9 kB / 0.9377 GB, free: 3.082 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/3.176, allocations: 4 kB / 0.9377 GB, free: 3.078 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/3.176, allocations: 4.531 kB / 0.9377 GB, free: 3.074 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001024/3.177, allocations: 274 kB / 0.938 GB, free: 2.805 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/3.177, allocations: 43.08 kB / 0.938 GB, free: 2.766 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001129/3.178, allocations: 1.253 MB / 0.9392 GB, free: 1.469 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002895/3.179, allocations: 51.36 kB / 0.9393 GB, free: 1.418 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.26e-05/3.179, allocations: 16 kB / 0.9393 GB, free: 1.402 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.0002514/3.179, allocations: 166 kB / 0.9395 GB, free: 1.234 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.371e-05/3.179, allocations: 31.62 kB / 0.9395 GB, free: 1.203 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000957/3.18, allocations: 490.8 kB / 0.94 GB, free: 0.7188 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000685/3.181, allocations: 365.5 kB / 0.9403 GB, free: 364 kB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.886e-05/3.181, allocations: 0 / 0.9403 GB, free: 364 kB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/3.181, allocations: 3.984 kB / 0.9403 GB, free: 360 kB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001796/3.183, allocations: 1.01 MB / 0.9413 GB, free: 15.29 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/3.183, allocations: 0 / 0.9413 GB, free: 15.29 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.807e-05/3.183, allocations: 28.19 kB / 0.9413 GB, free: 15.27 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007396/3.183, allocations: 226.7 kB / 0.9416 GB, free: 15.04 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.451e-05/3.184, allocations: 8 kB / 0.9416 GB, free: 15.04 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009637/3.184, allocations: 1.263 MB / 0.9428 GB, free: 13.73 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/3.184, allocations: 0 / 0.9428 GB, free: 13.73 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000782/3.185, allocations: 497.2 kB / 0.9433 GB, free: 13.22 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/3.185, allocations: 108.6 kB / 0.9434 GB, free: 13.09 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.892e-05/3.185, allocations: 8 kB / 0.9434 GB, free: 13.09 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/3.186, allocations: 11.92 kB / 0.9434 GB, free: 13.07 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.703e-05/3.186, allocations: 16.12 kB / 0.9434 GB, free: 13.06 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/3.186, allocations: 13.08 kB / 0.9434 GB, free: 13.05 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0002616/3.186, allocations: 231 kB / 0.9436 GB, free: 12.82 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/3.186, allocations: 4 kB / 0.9436 GB, free: 12.82 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.005576/3.192, allocations: 1.507 MB / 0.9451 GB, free: 11.31 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.009919/3.202, allocations: 2.239 MB / 0.9473 GB, free: 9.344 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001267/3.203, allocations: 373.5 kB / 0.9477 GB, free: 8.988 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/3.203, allocations: 1.203 kB / 0.9477 GB, free: 8.988 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0005889/3.203, allocations: 190.6 kB / 0.9478 GB, free: 8.809 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008943/3.204, allocations: 141.6 kB / 0.948 GB, free: 8.672 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001632/3.206, allocations: 0.7393 MB / 0.9487 GB, free: 7.918 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004478/3.207, allocations: 0.8274 MB / 0.9495 GB, free: 7.062 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002364/3.207, allocations: 51.2 kB / 0.9496 GB, free: 7.016 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.088e-05/3.207, allocations: 31.44 kB / 0.9496 GB, free: 6.984 MB / 0.795 GB Notification: Performance of SimCode: time 1.793e-06/3.207, allocations: 0 / 0.9496 GB, free: 6.984 MB / 0.795 GB Notification: Performance of Templates: time 0.2888/3.496, allocations: 49.34 MB / 0.9978 GB, free: 472.4 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 cvode -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestAirHumidity.pipe 2>&1)