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.7755/0.7755, allocations: 150.9 MB / 166.7 MB, free: 14.66 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002882/0.0002882, allocations: 15.97 kB / 204.8 MB, free: 10.07 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1414, allocations: 31.32 MB / 236.1 MB, free: 5.457 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.Examples.SimpleExamples.TestAirHumidity): time 1.546/1.688, allocations: 293.6 MB / 0.5173 GB, free: 13.71 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.15/1.838, allocations: 157.2 MB / 0.6709 GB, free: 172 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001779/1.838, allocations: 0 / 0.6709 GB, free: 172 kB / 0.545 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.0003863/1.838, allocations: 97.25 kB / 0.671 GB, free: 76 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001611/1.839, allocations: 75.38 kB / 0.671 GB, free: 0 / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.007225/1.846, allocations: 2.967 MB / 0.6739 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004228/1.846, allocations: 367.1 kB / 0.6743 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002533/1.846, allocations: 180.1 kB / 0.6745 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001567/1.847, allocations: 147.5 kB / 0.6746 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001619/1.847, allocations: 159.3 kB / 0.6747 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.2e-05/1.847, allocations: 35.94 kB / 0.6748 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009871/1.857, allocations: 7.447 MB / 0.6821 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.28e-05/1.857, allocations: 75.77 kB / 0.6821 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001734/1.857, allocations: 175.2 kB / 0.6823 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002558/1.86, allocations: 2.335 MB / 0.6846 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/1.86, allocations: 0 / 0.6846 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.733e-06/1.86, allocations: 0 / 0.6846 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.045e-06/1.86, allocations: 0 / 0.6846 GB, free: 2.125 MB / 0.5606 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.001561/1.861, allocations: 0.8234 MB / 0.6854 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/1.861, allocations: 12.03 kB / 0.6854 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.443e-05/1.861, allocations: 52.47 kB / 0.6854 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002107/1.862, allocations: 243 kB / 0.6857 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.461e-05/1.862, allocations: 29 kB / 0.6857 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.781e-05/1.862, allocations: 36 kB / 0.6857 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005626/1.862, allocations: 425.2 kB / 0.6861 GB, free: 408 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/1.862, allocations: 0 / 0.6861 GB, free: 408 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.885e-05/1.862, allocations: 19.94 kB / 0.6862 GB, free: 388 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/1.862, allocations: 15.92 kB / 0.6862 GB, free: 372 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003728/1.863, allocations: 238.4 kB / 0.6864 GB, free: 132 kB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00189/1.865, allocations: 2.13 MB / 0.6885 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004915/1.865, allocations: 178.8 kB / 0.6887 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001802/1.865, allocations: 96.77 kB / 0.6887 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01616/1.881, allocations: 8.515 MB / 0.6971 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.743e-05/1.881, allocations: 38.56 kB / 0.6971 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=23): time 2.064e-06/1.881, allocations: 3.938 kB / 0.6971 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.001041/1.883, allocations: 489.9 kB / 0.6976 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/1.883, allocations: 51.41 kB / 0.6976 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003519/1.883, allocations: 290.5 kB / 0.6979 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/1.883, allocations: 29.7 kB / 0.6979 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/1.883, allocations: 168.4 kB / 0.6981 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.418e-05/1.883, allocations: 86.73 kB / 0.6982 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.037e-05/1.883, allocations: 57.62 kB / 0.6982 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001326/1.883, allocations: 342.8 kB / 0.6985 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001264/1.884, allocations: 64.19 kB / 0.6986 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001664/1.884, allocations: 133.7 kB / 0.6987 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000288/1.884, allocations: 226.1 kB / 0.699 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/1.884, allocations: 0 / 0.699 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000482/1.885, allocations: 294.5 kB / 0.6992 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/1.885, allocations: 4 kB / 0.6992 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/1.885, allocations: 7.984 kB / 0.6992 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003389/1.885, allocations: 65.95 kB / 0.6993 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004076/1.885, allocations: 63.84 kB / 0.6994 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005988/1.886, allocations: 1.097 MB / 0.7004 GB, free: 424 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000156/1.886, allocations: 35.53 kB / 0.7005 GB, free: 388 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/1.886, allocations: 19.92 kB / 0.7005 GB, free: 368 kB / 0.5762 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.0001361/1.886, allocations: 149.7 kB / 0.7006 GB, free: 208 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.479e-05/1.886, allocations: 31.78 kB / 0.7007 GB, free: 176 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1549/2.041, allocations: 251.3 kB / 0.7009 GB, free: 234.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.61e-05/2.041, allocations: 6 kB / 0.7009 GB, free: 234.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/2.041, allocations: 2.531 kB / 0.7009 GB, free: 234.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/2.041, allocations: 4.875 kB / 0.7009 GB, free: 234.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/2.042, allocations: 0.6463 MB / 0.7015 GB, free: 234.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/2.042, allocations: 2.562 kB / 0.7015 GB, free: 234.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000249/2.043, allocations: 35.48 kB / 0.7016 GB, free: 234.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002572/2.043, allocations: 62.58 kB / 0.7016 GB, free: 234.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/2.043, allocations: 8.422 kB / 0.7017 GB, free: 234.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003813/2.043, allocations: 1.087 MB / 0.7027 GB, free: 233.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/2.043, allocations: 4.812 kB / 0.7027 GB, free: 233.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003672/2.044, allocations: 347.4 kB / 0.703 GB, free: 232.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.124e-05/2.044, allocations: 107.8 kB / 0.7032 GB, free: 232.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.555e-05/2.044, allocations: 2.578 kB / 0.7032 GB, free: 232.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/2.044, allocations: 15.42 kB / 0.7032 GB, free: 232.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.825e-05/2.044, allocations: 10.42 kB / 0.7032 GB, free: 232.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/2.044, allocations: 3.656 kB / 0.7032 GB, free: 232.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001646/2.044, allocations: 203.8 kB / 0.7034 GB, free: 232.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/2.044, allocations: 0 / 0.7034 GB, free: 232.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001178/2.045, allocations: 417.2 kB / 0.7038 GB, free: 232.7 MB / 0.5762 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.001419/2.047, allocations: 0.5046 MB / 0.7043 GB, free: 232.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004778/2.047, allocations: 205.6 kB / 0.7045 GB, free: 232.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/2.047, allocations: 0 / 0.7045 GB, free: 232.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002128/2.047, allocations: 101.9 kB / 0.7046 GB, free: 232.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005014/2.048, allocations: 83.94 kB / 0.7046 GB, free: 232.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007752/2.049, allocations: 0.6582 MB / 0.7053 GB, free: 232.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001798/2.049, allocations: 0.7629 MB / 0.706 GB, free: 231.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.495e-05/2.049, allocations: 22.62 kB / 0.706 GB, free: 231.5 MB / 0.5762 GB Notification: Performance of SimCode: time 2.31e-07/2.049, allocations: 2.062 kB / 0.7061 GB, free: 231.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.01424/2.063, allocations: 12.26 MB / 0.718 GB, free: 230.6 MB / 0.5762 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)