Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 108.2 kB / 16.41 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 191 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8051/0.8051, allocations: 135.1 MB / 426.3 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 66.3 kB / 0.5863 GB, free: 21.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1371, allocations: 80.92 MB / 0.6653 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003131/0.1403, allocations: 1.884 MB / 0.6671 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4931/0.6334, allocations: 155.4 MB / 0.8189 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001643/0.6336, allocations: 5.375 kB / 0.8189 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001752/0.6338, allocations: 27.92 kB / 0.8189 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003156/0.6341, allocations: 66.97 kB / 0.819 GB, free: 8.074 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007213/0.6348, allocations: 260.8 kB / 0.8192 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0002601/0.6351, allocations: 261.7 kB / 0.8195 GB, free: 7.816 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001671/0.6353, allocations: 65.66 kB / 0.8195 GB, free: 7.777 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001309/0.6366, allocations: 244.5 kB / 0.8198 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001779/0.6368, allocations: 93.94 kB / 0.8199 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.767e-05/0.6369, allocations: 12.88 kB / 0.8199 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003832/0.6372, allocations: 175.4 kB / 0.82 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 6.926e-05/0.6373, allocations: 48.39 kB / 0.8201 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 9.566e-05/0.6374, allocations: 92.83 kB / 0.8202 GB, free: 7.426 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0004917/0.6379, allocations: 275.2 kB / 0.8204 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.6379, allocations: 2.781 kB / 0.8204 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.562e-06/0.638, allocations: 0 / 0.8204 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.23e-05/0.638, allocations: 0 / 0.8204 GB, free: 7.254 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001021/0.639, allocations: 0.5121 MB / 0.8209 GB, free: 6.777 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.639, allocations: 8.516 kB / 0.821 GB, free: 6.777 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008814/0.6399, allocations: 82.52 kB / 0.821 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002802/0.6402, allocations: 230.8 kB / 0.8213 GB, free: 6.5 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.573e-05/0.6403, allocations: 37.84 kB / 0.8213 GB, free: 6.465 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.588e-05/0.6404, allocations: 18.16 kB / 0.8213 GB, free: 6.457 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005074/0.6409, allocations: 264.6 kB / 0.8216 GB, free: 6.25 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.6409, allocations: 2.906 kB / 0.8216 GB, free: 6.25 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.078e-05/0.6409, allocations: 8 kB / 0.8216 GB, free: 6.242 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.6409, allocations: 5.125 kB / 0.8216 GB, free: 6.242 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004318/0.6414, allocations: 170.4 kB / 0.8217 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001644/0.643, allocations: 1.175 MB / 0.8229 GB, free: 5.055 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007317/0.6438, allocations: 210.9 kB / 0.8231 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001603/0.6439, allocations: 71.17 kB / 0.8232 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.644, allocations: 6.359 kB / 0.8232 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.644, allocations: 34.55 kB / 0.8232 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=12): time 1.453e-06/0.644, allocations: 2.531 kB / 0.8232 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12): time 0.002634/0.6466, allocations: 0.6165 MB / 0.8238 GB, free: 4.43 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.6467, allocations: 53.84 kB / 0.8239 GB, free: 4.367 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002386/0.6469, allocations: 214.2 kB / 0.8241 GB, free: 4.199 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.031e-05/0.647, allocations: 32.2 kB / 0.8241 GB, free: 4.164 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.611e-05/0.6471, allocations: 147.1 kB / 0.8242 GB, free: 4.023 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.688e-05/0.6471, allocations: 41.2 kB / 0.8243 GB, free: 3.988 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.912e-05/0.6472, allocations: 44.72 kB / 0.8243 GB, free: 3.953 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.6473, allocations: 325.6 kB / 0.8246 GB, free: 3.629 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002203/0.6476, allocations: 76.66 kB / 0.8247 GB, free: 3.59 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002362/0.6478, allocations: 124 kB / 0.8248 GB, free: 3.484 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003983/0.6482, allocations: 210.4 kB / 0.825 GB, free: 3.336 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.6482, allocations: 0 / 0.825 GB, free: 3.336 MB / 0.5919 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001441/0.6497, allocations: 372.3 kB / 0.8254 GB, free: 3.125 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.6497, allocations: 9.016 kB / 0.8254 GB, free: 3.121 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.6497, allocations: 4.344 kB / 0.8254 GB, free: 3.121 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0011/0.6508, allocations: 153.7 kB / 0.8255 GB, free: 3.047 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/0.6511, allocations: 46.14 kB / 0.8256 GB, free: 3.027 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003904/0.655, allocations: 3.251 MB / 0.8287 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003856/0.6554, allocations: 39.28 kB / 0.8288 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.319e-05/0.6554, allocations: 4.875 kB / 0.8288 GB, free: 15.82 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 initialization (17): * Single equations (assignments): 15 * 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,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001431/0.6556, allocations: 131 kB / 0.8289 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.235e-05/0.6556, allocations: 21.38 kB / 0.8289 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001352/0.657, allocations: 370 kB / 0.8293 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.657, allocations: 2.625 kB / 0.8293 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.657, allocations: 4 kB / 0.8293 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.657, allocations: 0 / 0.8293 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003202/0.6574, allocations: 272.2 kB / 0.8295 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.6574, allocations: 2.781 kB / 0.8296 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001408/0.6575, allocations: 26.39 kB / 0.8296 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008509/0.6584, allocations: 140.3 kB / 0.8297 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/0.6584, allocations: 3.938 kB / 0.8297 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003647/0.6621, allocations: 3.309 MB / 0.8329 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6621, allocations: 0 / 0.8329 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00129/0.6634, allocations: 429.9 kB / 0.8334 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/0.6635, allocations: 110.2 kB / 0.8335 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.903e-05/0.6636, allocations: 2.938 kB / 0.8335 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003/0.6639, allocations: 16.83 kB / 0.8335 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.28e-05/0.6639, allocations: 19.73 kB / 0.8335 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.825e-05/0.664, allocations: 8.297 kB / 0.8335 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001683/0.6641, allocations: 150.6 kB / 0.8336 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6641, allocations: 0 / 0.8336 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004331/0.6646, allocations: 73.53 kB / 0.8337 GB, free: 11.3 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (12): * Single equations (assignments): 10 * 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), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001817/0.6648, allocations: 112.4 kB / 0.8338 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001076/0.6659, allocations: 440.8 kB / 0.8342 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.6659, allocations: 0 / 0.8342 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006909/0.6666, allocations: 362.9 kB / 0.8346 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004342/0.667, allocations: 60.55 kB / 0.8347 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.668, allocations: 443.8 kB / 0.8351 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/0.6683, allocations: 0.7306 MB / 0.8358 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.68e-05/0.6684, allocations: 24.27 kB / 0.8358 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of SimCode: time 4.41e-07/0.6684, allocations: 0 / 0.8358 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of Templates: time 0.006952/0.6754, allocations: 4.444 MB / 0.8402 GB, free: 7.164 MB / 0.6075 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)