Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.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.Examples.SimpleExamples.TestAirHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity") translateModel(ThermoSysPro.Examples.SimpleExamples.TestAirHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7662/0.7662, allocations: 150.9 MB / 167.2 MB, free: 14.5 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003092/0.0003092, allocations: 16.3 kB / 237.8 MB, free: 1.773 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04491/0.04523, allocations: 31.35 MB / 269.1 MB, free: 7.008 MB / 222.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.Examples.SimpleExamples.TestAirHumidity): time 1.471/1.516, allocations: 294.7 MB / 0.5506 GB, free: 13.19 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1424/1.658, allocations: 159.1 MB / 0.706 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001736/1.659, allocations: 0 / 0.706 GB, free: 13.43 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/BoundaryConditions/SourcePQ.mo:18:3-19:83:writable] Warning: Connector C is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/BoundaryConditions/AirHumidity.mo:33:3-35:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/BoundaryConditions/AirHumidity.mo:42:3-43:83:writable] Warning: Connector C2 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/PressureLosses/SingularPressureLoss.mo:18:3-20:42:writable] Warning: Connector C1 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/PressureLosses/SingularPressureLoss.mo:21:3-23:37:writable] Warning: Connector C2 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/BoundaryConditions/Sink.mo:15:3-17:16:writable] Warning: Connector C is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0003515/1.659, allocations: 109.8 kB / 0.7061 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002047/1.659, allocations: 91.12 kB / 0.7062 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.007185/1.666, allocations: 3.38 MB / 0.7095 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0003879/1.667, allocations: 363 kB / 0.7099 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002502/1.667, allocations: 196.1 kB / 0.71 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001668/1.667, allocations: 147.4 kB / 0.7102 GB, free: 9.16 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001746/1.667, allocations: 159.3 kB / 0.7103 GB, free: 9.004 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.133e-05/1.667, allocations: 36 kB / 0.7104 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01102/1.678, allocations: 7.58 MB / 0.7178 GB, free: 1.379 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 7.52e-05/1.679, allocations: 79.77 kB / 0.7179 GB, free: 1.301 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001611/1.679, allocations: 171.2 kB / 0.718 GB, free: 1.133 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.2602/1.939, allocations: 3.479 MB / 0.7214 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/1.939, allocations: 0 / 0.7214 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.413e-06/1.939, allocations: 0.9844 kB / 0.7214 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.085e-06/1.939, allocations: 1.281 kB / 0.7214 GB, free: 9.738 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.002302/1.941, allocations: 0.8284 MB / 0.7222 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/1.941, allocations: 12.62 kB / 0.7222 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.5e-05/1.941, allocations: 34.12 kB / 0.7223 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001833/1.942, allocations: 246.8 kB / 0.7225 GB, free: 9.012 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.892e-05/1.942, allocations: 32.81 kB / 0.7225 GB, free: 9.008 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.899e-05/1.942, allocations: 37.59 kB / 0.7226 GB, free: 9.008 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005316/1.942, allocations: 424.2 kB / 0.723 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/1.942, allocations: 1.406 kB / 0.723 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.56e-05/1.942, allocations: 16.5 kB / 0.723 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/1.942, allocations: 17.06 kB / 0.723 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003567/1.943, allocations: 237.7 kB / 0.7232 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001634/1.944, allocations: 2.113 MB / 0.7253 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004849/1.945, allocations: 184 kB / 0.7255 GB, free: 7.262 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001808/1.945, allocations: 97.95 kB / 0.7256 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01714/1.962, allocations: 8.576 MB / 0.7339 GB, free: 18.55 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/1.962, allocations: 31.78 kB / 0.734 GB, free: 18.52 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=23): time 1.773e-06/1.962, allocations: 0.9375 kB / 0.734 GB, free: 18.52 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.0009535/1.963, allocations: 497.5 kB / 0.7344 GB, free: 18.26 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/1.963, allocations: 57.31 kB / 0.7345 GB, free: 18.2 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002712/1.963, allocations: 280.9 kB / 0.7348 GB, free: 18.09 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/1.963, allocations: 27.73 kB / 0.7348 GB, free: 18.06 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.306e-05/1.964, allocations: 190.1 kB / 0.735 GB, free: 17.94 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.036e-05/1.964, allocations: 79.02 kB / 0.7351 GB, free: 17.89 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.742e-05/1.964, allocations: 47.53 kB / 0.7351 GB, free: 17.88 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001018/1.964, allocations: 342.2 kB / 0.7354 GB, free: 17.56 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/1.964, allocations: 65.81 kB / 0.7355 GB, free: 17.55 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/1.964, allocations: 131.5 kB / 0.7356 GB, free: 17.48 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002589/1.964, allocations: 220.3 kB / 0.7358 GB, free: 17.4 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/1.964, allocations: 0.7812 kB / 0.7358 GB, free: 17.4 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004842/1.965, allocations: 299.6 kB / 0.7361 GB, free: 17.33 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/1.965, allocations: 8.094 kB / 0.7361 GB, free: 17.33 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/1.965, allocations: 6.062 kB / 0.7361 GB, free: 17.33 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003024/1.965, allocations: 68.08 kB / 0.7362 GB, free: 17.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003963/1.966, allocations: 62.47 kB / 0.7362 GB, free: 17.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005877/1.966, allocations: 1.095 MB / 0.7373 GB, free: 16.28 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/1.966, allocations: 44.16 kB / 0.7374 GB, free: 16.25 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.479e-05/1.966, allocations: 7.5 kB / 0.7374 GB, free: 16.25 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 (sinkFlueGases.C.a,singularPressureLoss.C2.b,singularPressureLoss.C1.a,airHumidity.C2.b,airHumidity.C1.a,sourceFlueGasesPQ.C.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001309/1.967, allocations: 149.1 kB / 0.7375 GB, free: 16.14 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.862e-05/1.967, allocations: 25.38 kB / 0.7375 GB, free: 16.12 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004346/1.967, allocations: 258.8 kB / 0.7378 GB, free: 16.05 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/1.967, allocations: 4.062 kB / 0.7378 GB, free: 16.05 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/1.967, allocations: 0 / 0.7378 GB, free: 16.05 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/1.967, allocations: 11.36 kB / 0.7378 GB, free: 16.05 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000851/1.968, allocations: 0.6603 MB / 0.7384 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/1.968, allocations: 3.422 kB / 0.7384 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002194/1.968, allocations: 31.3 kB / 0.7385 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002054/1.968, allocations: 63.92 kB / 0.7385 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/1.968, allocations: 3.562 kB / 0.7385 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005108/1.969, allocations: 1.09 MB / 0.7396 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.969, allocations: 3.219 kB / 0.7396 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003627/1.969, allocations: 347.9 kB / 0.7399 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.025e-05/1.969, allocations: 115.1 kB / 0.74 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.705e-05/1.969, allocations: 11.59 kB / 0.7401 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/1.97, allocations: 5.781 kB / 0.7401 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.071e-05/1.97, allocations: 14.73 kB / 0.7401 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/1.97, allocations: 2.969 kB / 0.7401 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001489/1.97, allocations: 206 kB / 0.7403 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/1.97, allocations: 0 / 0.7403 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001427/1.971, allocations: 409.4 kB / 0.7407 GB, free: 14.24 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002192/1.973, allocations: 0.5066 MB / 0.7412 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004179/1.974, allocations: 195.1 kB / 0.7413 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.974, allocations: 4.062 kB / 0.7414 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001916/1.974, allocations: 93.53 kB / 0.7414 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000474/1.975, allocations: 87.72 kB / 0.7415 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007272/1.975, allocations: 0.5433 MB / 0.7421 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002515/1.976, allocations: 0.7656 MB / 0.7428 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.298e-05/1.976, allocations: 22.75 kB / 0.7428 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of SimCode: time 2e-07/1.976, allocations: 0 / 0.7428 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of Templates: time 0.0145/1.99, allocations: 12.27 MB / 0.7548 GB, free: 12.14 MB / 0.6075 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity.makefile (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity.pipe 2>&1)