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.8597/0.8597, allocations: 150.8 MB / 166.1 MB, free: 15.44 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.655e-05/1.658e-05, allocations: 4 kB / 204.8 MB, free: 10.07 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1784, allocations: 31.98 MB / 236.8 MB, free: 5.684 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestAirHumidity): time 1.645/1.823, allocations: 293.6 MB / 0.5179 GB, free: 13.65 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1657/1.989, allocations: 156.7 MB / 0.671 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002002/1.989, allocations: 0 / 0.671 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000299/1.989, allocations: 87.55 kB / 0.6711 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002391/1.99, allocations: 79.38 kB / 0.6711 GB, free: 480 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.007/1.997, allocations: 2.527 MB / 0.6736 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004367/1.997, allocations: 362.9 kB / 0.674 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002549/1.997, allocations: 153 kB / 0.6741 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001409/1.998, allocations: 119.5 kB / 0.6742 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001498/1.998, allocations: 127.4 kB / 0.6743 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.55e-05/1.998, allocations: 16 kB / 0.6744 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01119/2.009, allocations: 7.455 MB / 0.6816 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.324e-05/2.009, allocations: 59.69 kB / 0.6817 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001882/2.009, allocations: 172.9 kB / 0.6819 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004983/2.014, allocations: 3.461 MB / 0.6852 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/2.014, allocations: 4 kB / 0.6852 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.094e-06/2.014, allocations: 0 / 0.6852 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.603e-06/2.014, allocations: 0 / 0.6852 GB, free: 2.012 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.001819/2.016, allocations: 0.7622 MB / 0.686 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/2.016, allocations: 12.03 kB / 0.686 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.931e-05/2.016, allocations: 44.5 kB / 0.686 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002448/2.016, allocations: 251 kB / 0.6863 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.272e-05/2.017, allocations: 32.98 kB / 0.6863 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.309e-05/2.017, allocations: 35.98 kB / 0.6863 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006054/2.017, allocations: 425.2 kB / 0.6867 GB, free: 348 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/2.017, allocations: 3.938 kB / 0.6868 GB, free: 344 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.234e-05/2.017, allocations: 12 kB / 0.6868 GB, free: 332 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/2.017, allocations: 12 kB / 0.6868 GB, free: 320 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000392/2.018, allocations: 250.3 kB / 0.687 GB, free: 68 kB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002122/2.02, allocations: 2.126 MB / 0.6891 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005027/2.02, allocations: 170.8 kB / 0.6893 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000202/2.021, allocations: 109.6 kB / 0.6894 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0177/2.038, allocations: 8.586 MB / 0.6977 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.201e-05/2.038, allocations: 34.55 kB / 0.6978 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=23): time 2.144e-06/2.038, allocations: 0 / 0.6978 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.001067/2.039, allocations: 492.5 kB / 0.6982 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/2.039, allocations: 59.41 kB / 0.6983 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002911/2.04, allocations: 286.5 kB / 0.6986 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/2.04, allocations: 29.7 kB / 0.6986 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/2.04, allocations: 176.3 kB / 0.6988 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.63e-05/2.04, allocations: 74.84 kB / 0.6988 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.247e-05/2.04, allocations: 37.69 kB / 0.6989 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001134/2.04, allocations: 342.8 kB / 0.6992 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/2.04, allocations: 64.25 kB / 0.6993 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001623/2.04, allocations: 129.1 kB / 0.6994 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003012/2.041, allocations: 228.3 kB / 0.6996 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/2.041, allocations: 0 / 0.6996 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005081/2.041, allocations: 299.1 kB / 0.6999 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/2.041, allocations: 5.406 kB / 0.6999 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/2.041, allocations: 4 kB / 0.6999 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003318/2.042, allocations: 65.67 kB / 0.7 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004318/2.042, allocations: 67.86 kB / 0.7 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006735/2.043, allocations: 1.093 MB / 0.7011 GB, free: 320 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001662/2.043, allocations: 43.59 kB / 0.7011 GB, free: 276 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/2.043, allocations: 15.92 kB / 0.7012 GB, free: 260 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.0001574/2.043, allocations: 154.9 kB / 0.7013 GB, free: 96 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.513e-05/2.043, allocations: 23.72 kB / 0.7013 GB, free: 72 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1827/2.226, allocations: 251.6 kB / 0.7016 GB, free: 237.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.67e-05/2.226, allocations: 6.719 kB / 0.7016 GB, free: 237.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/2.226, allocations: 1.5 kB / 0.7016 GB, free: 237.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/2.226, allocations: 3.219 kB / 0.7016 GB, free: 237.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009988/2.227, allocations: 0.6503 MB / 0.7022 GB, free: 236.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/2.227, allocations: 0.9688 kB / 0.7022 GB, free: 236.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000244/2.227, allocations: 34.16 kB / 0.7022 GB, free: 236.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002522/2.228, allocations: 63.98 kB / 0.7023 GB, free: 236.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/2.228, allocations: 10.22 kB / 0.7023 GB, free: 236.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004246/2.228, allocations: 1.084 MB / 0.7034 GB, free: 235.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/2.228, allocations: 7.609 kB / 0.7034 GB, free: 235.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000387/2.228, allocations: 346.4 kB / 0.7037 GB, free: 235.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.477e-05/2.228, allocations: 110 kB / 0.7038 GB, free: 235.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.398e-05/2.229, allocations: 7.75 kB / 0.7038 GB, free: 235.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/2.229, allocations: 6.406 kB / 0.7038 GB, free: 235.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.022e-05/2.229, allocations: 22.41 kB / 0.7038 GB, free: 235.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/2.229, allocations: 6.5 kB / 0.7039 GB, free: 235.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000176/2.229, allocations: 203.3 kB / 0.704 GB, free: 235.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/2.229, allocations: 0 / 0.704 GB, free: 235.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001315/2.23, allocations: 411.7 kB / 0.7044 GB, free: 235.3 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.001484/2.232, allocations: 0.4962 MB / 0.7049 GB, free: 235.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005027/2.232, allocations: 194.2 kB / 0.7051 GB, free: 235.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/2.232, allocations: 1.062 kB / 0.7051 GB, free: 235.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002323/2.232, allocations: 105.8 kB / 0.7052 GB, free: 235.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005794/2.233, allocations: 81.17 kB / 0.7053 GB, free: 235.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008479/2.234, allocations: 0.6425 MB / 0.7059 GB, free: 234.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001897/2.234, allocations: 0.7676 MB / 0.7067 GB, free: 234.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001242/2.234, allocations: 26.12 kB / 0.7067 GB, free: 234.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.929e-05/2.234, allocations: 20.88 kB / 0.7067 GB, free: 234.2 MB / 0.5762 GB Notification: Performance of SimCode: time 2.4e-07/2.234, allocations: 5.016 kB / 0.7067 GB, free: 234.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.02303/2.257, allocations: 14.46 MB / 0.7208 GB, free: 232.2 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: