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.8191/0.8191, allocations: 150.9 MB / 167.1 MB, free: 14.52 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003255/0.0003257, allocations: 15.97 kB / 205.9 MB, free: 9.016 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.128, allocations: 31.33 MB / 237.3 MB, free: 5.734 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.54/1.668, allocations: 294.5 MB / 0.5193 GB, free: 12.94 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1507/1.819, allocations: 159.1 MB / 0.6747 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001544/1.819, allocations: 8 kB / 0.6747 GB, free: 13.46 MB / 0.5606 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.0003604/1.82, allocations: 104.1 kB / 0.6748 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001516/1.82, allocations: 91.11 kB / 0.6749 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.007273/1.827, allocations: 3.365 MB / 0.6782 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003761/1.828, allocations: 371 kB / 0.6786 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002338/1.828, allocations: 189.2 kB / 0.6787 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001498/1.828, allocations: 155.4 kB / 0.6789 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001695/1.828, allocations: 155.3 kB / 0.679 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.039e-05/1.828, allocations: 36 kB / 0.6791 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01075/1.839, allocations: 7.584 MB / 0.6865 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.779e-05/1.839, allocations: 75.77 kB / 0.6865 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001691/1.839, allocations: 175.2 kB / 0.6867 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004403/1.844, allocations: 3.489 MB / 0.6901 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/1.844, allocations: 0 / 0.6901 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.542e-06/1.844, allocations: 0 / 0.6901 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.354e-06/1.844, allocations: 4 kB / 0.6901 GB, free: 13.68 MB / 0.5762 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.001562/1.845, allocations: 0.8234 MB / 0.6909 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/1.845, allocations: 11.97 kB / 0.6909 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.974e-05/1.845, allocations: 40.47 kB / 0.691 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002267/1.846, allocations: 251 kB / 0.6912 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.508e-05/1.846, allocations: 33 kB / 0.6912 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.462e-05/1.846, allocations: 39.94 kB / 0.6913 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005824/1.846, allocations: 421.2 kB / 0.6917 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/1.846, allocations: 4 kB / 0.6917 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.913e-05/1.846, allocations: 16 kB / 0.6917 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/1.846, allocations: 8 kB / 0.6917 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003968/1.847, allocations: 242.4 kB / 0.6919 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00198/1.849, allocations: 2.119 MB / 0.694 GB, free: 9.398 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005144/1.849, allocations: 178.7 kB / 0.6942 GB, free: 9.215 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001885/1.849, allocations: 96.83 kB / 0.6943 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.154/2.003, allocations: 8.565 MB / 0.7026 GB, free: 233.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/2.004, allocations: 33.47 kB / 0.7027 GB, free: 233.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=23): time 2.725e-06/2.004, allocations: 3.156 kB / 0.7027 GB, free: 233.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.0009778/2.005, allocations: 489.7 kB / 0.7031 GB, free: 233.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.33e-05/2.005, allocations: 54.22 kB / 0.7032 GB, free: 233.3 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002452/2.005, allocations: 284.2 kB / 0.7035 GB, free: 233.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/2.005, allocations: 29.58 kB / 0.7035 GB, free: 233.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.547e-05/2.005, allocations: 177.3 kB / 0.7037 GB, free: 233.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.487e-05/2.005, allocations: 80.61 kB / 0.7037 GB, free: 233.1 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.515e-05/2.005, allocations: 52.42 kB / 0.7038 GB, free: 233.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.149e-05/2.005, allocations: 340.9 kB / 0.7041 GB, free: 232.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/2.005, allocations: 59.92 kB / 0.7042 GB, free: 232.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/2.005, allocations: 138.3 kB / 0.7043 GB, free: 232.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002593/2.006, allocations: 239.6 kB / 0.7045 GB, free: 232.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/2.006, allocations: 0.5 kB / 0.7045 GB, free: 232.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004632/2.006, allocations: 288.2 kB / 0.7048 GB, free: 232.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/2.006, allocations: 9.5 kB / 0.7048 GB, free: 232.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/2.006, allocations: 1.562 kB / 0.7048 GB, free: 232.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003356/2.006, allocations: 67.69 kB / 0.7049 GB, free: 232.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004052/2.007, allocations: 69.11 kB / 0.7049 GB, free: 232.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004258/2.007, allocations: 1.096 MB / 0.706 GB, free: 231.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001504/2.007, allocations: 41.66 kB / 0.7061 GB, free: 231.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/2.008, allocations: 11.44 kB / 0.7061 GB, free: 231.5 MB / 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.0001046/2.008, allocations: 141.8 kB / 0.7062 GB, free: 231.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.615e-05/2.008, allocations: 31.72 kB / 0.7062 GB, free: 231.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004648/2.008, allocations: 257.8 kB / 0.7065 GB, free: 231.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/2.008, allocations: 4.656 kB / 0.7065 GB, free: 231.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/2.008, allocations: 0.6875 kB / 0.7065 GB, free: 231.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/2.008, allocations: 0 / 0.7065 GB, free: 231.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000848/2.009, allocations: 0.6639 MB / 0.7071 GB, free: 230.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/2.009, allocations: 5 kB / 0.7071 GB, free: 230.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002404/2.009, allocations: 31.11 kB / 0.7072 GB, free: 230.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002344/2.01, allocations: 65.16 kB / 0.7072 GB, free: 230.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/2.01, allocations: 1.438 kB / 0.7072 GB, free: 230.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003757/2.01, allocations: 1.095 MB / 0.7083 GB, free: 229.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/2.01, allocations: 1.516 kB / 0.7083 GB, free: 229.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003907/2.01, allocations: 346.2 kB / 0.7086 GB, free: 229.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.055e-05/2.01, allocations: 109.3 kB / 0.7087 GB, free: 229.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.411e-05/2.01, allocations: 10 kB / 0.7087 GB, free: 229.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/2.011, allocations: 5.625 kB / 0.7088 GB, free: 229.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.832e-05/2.011, allocations: 8.75 kB / 0.7088 GB, free: 229.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/2.011, allocations: 7.25 kB / 0.7088 GB, free: 229.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001749/2.011, allocations: 204.4 kB / 0.709 GB, free: 229.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2e-07/2.011, allocations: 1.062 kB / 0.709 GB, free: 229.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00106/2.012, allocations: 414.3 kB / 0.7094 GB, free: 229.5 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.001384/2.013, allocations: 0.5094 MB / 0.7099 GB, free: 229.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004783/2.014, allocations: 196.8 kB / 0.71 GB, free: 229.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/2.014, allocations: 0 / 0.71 GB, free: 229.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002224/2.014, allocations: 105.3 kB / 0.7101 GB, free: 229.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005044/2.015, allocations: 94.06 kB / 0.7102 GB, free: 229.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007364/2.015, allocations: 0.5163 MB / 0.7107 GB, free: 229.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001699/2.015, allocations: 0.7643 MB / 0.7115 GB, free: 228.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.345e-05/2.016, allocations: 28.69 kB / 0.7115 GB, free: 228.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.598e-05/2.016, allocations: 20.94 kB / 0.7115 GB, free: 228.4 MB / 0.5762 GB Notification: Performance of SimCode: time 3.41e-07/2.016, allocations: 0 / 0.7115 GB, free: 228.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.01755/2.033, allocations: 14.7 MB / 0.7259 GB, free: 226.2 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 -s gbode -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity.pipe 2>&1)