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 1.247/1.247, allocations: 150.8 MB / 166.6 MB, free: 11.16 MB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002898/0.0002898, allocations: 15.98 kB / 204.7 MB, free: 6.164 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.2075, allocations: 31.33 MB / 236 MB, free: 3.879 MB / 186.7 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.92/2.128, allocations: 292.6 MB / 0.5163 GB, free: 9.375 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.628/2.756, allocations: 190.1 MB / 0.7019 GB, free: 2.695 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003764/2.756, allocations: 7.719 kB / 0.7019 GB, free: 2.695 MB / 0.5573 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.0003896/2.757, allocations: 90.48 kB / 0.702 GB, free: 2.695 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0003472/2.757, allocations: 144.1 kB / 0.7021 GB, free: 2.691 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.03003/2.787, allocations: 9.042 MB / 0.711 GB, free: 2.41 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0008043/2.788, allocations: 0.5522 MB / 0.7115 GB, free: 2.41 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003422/2.788, allocations: 293.7 kB / 0.7118 GB, free: 2.359 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002487/2.788, allocations: 217.1 kB / 0.712 GB, free: 2.359 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002374/2.789, allocations: 243 kB / 0.7122 GB, free: 2.359 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 5.036e-05/2.789, allocations: 41.34 kB / 0.7123 GB, free: 2.355 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03916/2.828, allocations: 21.86 MB / 0.7336 GB, free: 15.95 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002433/2.828, allocations: 101.3 kB / 0.7337 GB, free: 15.93 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0004701/2.829, allocations: 255.6 kB / 0.7339 GB, free: 15.91 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.03379/2.862, allocations: 10.54 MB / 0.7442 GB, free: 11.99 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/2.863, allocations: 0 / 0.7442 GB, free: 11.99 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.475e-06/2.863, allocations: 2.625 kB / 0.7442 GB, free: 11.99 MB / 0.573 GB Notification: Performance of Transformations before backend: time 9.217e-06/2.863, allocations: 6.906 kB / 0.7442 GB, free: 11.99 MB / 0.573 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.006906/2.869, allocations: 1.932 MB / 0.7461 GB, free: 10.77 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/2.87, allocations: 9.188 kB / 0.7461 GB, free: 10.77 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001513/2.87, allocations: 58.44 kB / 0.7462 GB, free: 10.74 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004615/2.87, allocations: 328.6 kB / 0.7465 GB, free: 10.48 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.874e-05/2.87, allocations: 38.12 kB / 0.7466 GB, free: 10.48 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.742e-05/2.87, allocations: 52.28 kB / 0.7466 GB, free: 10.48 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009124/2.871, allocations: 0.5504 MB / 0.7471 GB, free: 10.27 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/2.871, allocations: 0 / 0.7471 GB, free: 10.27 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.052e-05/2.871, allocations: 24.03 kB / 0.7472 GB, free: 10.27 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.084e-05/2.871, allocations: 15.84 kB / 0.7472 GB, free: 10.27 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000655/2.872, allocations: 365 kB / 0.7475 GB, free: 10.22 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002898/2.875, allocations: 2.943 MB / 0.7504 GB, free: 7.719 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003082/2.875, allocations: 145.1 kB / 0.7505 GB, free: 7.684 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001525/2.875, allocations: 88.86 kB / 0.7506 GB, free: 7.668 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3767/3.252, allocations: 182.2 MB / 0.9286 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/3.252, allocations: 38.56 kB / 0.9286 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=26): time 2.314e-06/3.252, allocations: 0 / 0.9286 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of matching and sorting (n=26): time 0.002005/3.254, allocations: 0.6465 MB / 0.9292 GB, free: 12 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/3.254, allocations: 59.31 kB / 0.9293 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005204/3.255, allocations: 332.3 kB / 0.9296 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/3.255, allocations: 30.91 kB / 0.9296 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002139/3.255, allocations: 267.5 kB / 0.9299 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.952e-05/3.255, allocations: 88.95 kB / 0.93 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/3.255, allocations: 85.34 kB / 0.9301 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001455/3.255, allocations: 341.7 kB / 0.9304 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002379/3.256, allocations: 84.33 kB / 0.9305 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002818/3.256, allocations: 201.5 kB / 0.9307 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004777/3.256, allocations: 314.7 kB / 0.931 GB, free: 10.1 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.145e-06/3.257, allocations: 4 kB / 0.931 GB, free: 10.1 MB / 0.7761 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001006/3.258, allocations: 457.2 kB / 0.9314 GB, free: 9.664 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/3.258, allocations: 4.531 kB / 0.9314 GB, free: 9.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/3.258, allocations: 8 kB / 0.9314 GB, free: 9.652 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009981/3.259, allocations: 253.7 kB / 0.9316 GB, free: 9.402 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/3.259, allocations: 46.5 kB / 0.9317 GB, free: 9.359 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001162/3.26, allocations: 1.253 MB / 0.9329 GB, free: 8.062 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003194/3.26, allocations: 51.42 kB / 0.933 GB, free: 8.012 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.699e-05/3.26, allocations: 24 kB / 0.933 GB, free: 7.988 MB / 0.7761 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.0002627/3.261, allocations: 160.7 kB / 0.9331 GB, free: 7.824 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.784e-05/3.261, allocations: 32.83 kB / 0.9332 GB, free: 7.793 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009502/3.262, allocations: 494.7 kB / 0.9336 GB, free: 7.301 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006746/3.262, allocations: 370.6 kB / 0.934 GB, free: 6.934 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/3.262, allocations: 0 / 0.934 GB, free: 6.934 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/3.262, allocations: 7.984 kB / 0.934 GB, free: 6.926 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001748/3.264, allocations: 1.009 MB / 0.935 GB, free: 5.867 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/3.264, allocations: 1.203 kB / 0.935 GB, free: 5.867 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.836e-05/3.264, allocations: 20 kB / 0.935 GB, free: 5.848 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000863/3.265, allocations: 277.9 kB / 0.9353 GB, free: 5.578 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.247e-05/3.265, allocations: 4 kB / 0.9353 GB, free: 5.574 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001039/3.266, allocations: 1.262 MB / 0.9365 GB, free: 4.266 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/3.266, allocations: 0 / 0.9365 GB, free: 4.266 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00169/3.268, allocations: 1.281 MB / 0.9378 GB, free: 2.926 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001505/3.268, allocations: 116.6 kB / 0.9379 GB, free: 2.793 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.586e-05/3.268, allocations: 4 kB / 0.9379 GB, free: 2.789 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/3.268, allocations: 8 kB / 0.9379 GB, free: 2.781 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.782e-05/3.268, allocations: 23.97 kB / 0.9379 GB, free: 2.758 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/3.268, allocations: 9.094 kB / 0.9379 GB, free: 2.75 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002652/3.269, allocations: 223.1 kB / 0.9381 GB, free: 2.531 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.71e-07/3.269, allocations: 0 / 0.9381 GB, free: 2.531 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.00603/3.275, allocations: 1.569 MB / 0.9397 GB, free: 0.9609 MB / 0.7761 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.01014/3.285, allocations: 2.336 MB / 0.9419 GB, free: 14.93 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001308/3.286, allocations: 362.4 kB / 0.9423 GB, free: 14.58 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 5.259e-06/3.286, allocations: 0 / 0.9423 GB, free: 14.58 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0005922/3.287, allocations: 179.4 kB / 0.9425 GB, free: 14.41 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009488/3.288, allocations: 129.7 kB / 0.9426 GB, free: 14.29 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001838/3.29, allocations: 1.158 MB / 0.9437 GB, free: 13.1 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004875/3.29, allocations: 0.8352 MB / 0.9445 GB, free: 12.23 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0002616/3.29, allocations: 51.22 kB / 0.9446 GB, free: 12.19 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.613e-05/3.291, allocations: 35.42 kB / 0.9446 GB, free: 12.15 MB / 0.7917 GB Notification: Performance of SimCode: time 1.002e-06/3.291, allocations: 0 / 0.9446 GB, free: 12.15 MB / 0.7917 GB Notification: Performance of Templates: time 0.2805/3.571, allocations: 49.5 MB / 0.993 GB, free: 422.9 MB / 0.7917 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)