Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb") translateModel(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 101.6 kB / 16.35 MB, free: 5.828 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.001192/0.001191, allocations: 191 kB / 17.29 MB, free: 5.484 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8301/0.8301, allocations: 132.2 MB / 423.3 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 59.91 kB / 0.5032 GB, free: 10.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.3622, allocations: 80.18 MB / 0.5815 GB, free: 27.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1673/0.5295, allocations: 161.5 MB / 0.7392 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004672/0.5342, allocations: 3.486 MB / 0.7426 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002936/0.5346, allocations: 11.94 kB / 0.7426 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000431/0.5351, allocations: 138.9 kB / 0.7427 GB, free: 8.547 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001149/0.5362, allocations: 445.9 kB / 0.7432 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001445/0.5377, allocations: 0.5979 MB / 0.7437 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006764/0.5384, allocations: 0.6166 MB / 0.7443 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003523/0.5387, allocations: 232.5 kB / 0.7446 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001125/0.5399, allocations: 336.4 kB / 0.7449 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000303/0.5402, allocations: 199.2 kB / 0.7451 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.677e-05/0.5402, allocations: 20 kB / 0.7451 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000886/0.5411, allocations: 0.5456 MB / 0.7456 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.5413, allocations: 95.7 kB / 0.7457 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001348/0.5414, allocations: 143.3 kB / 0.7459 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000746/0.5422, allocations: 0.5531 MB / 0.7464 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.5422, allocations: 4 kB / 0.7464 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.844e-06/0.5422, allocations: 0 / 0.7464 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.5422, allocations: 3.938 kB / 0.7464 GB, free: 4.797 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001003/0.5432, allocations: 0.635 MB / 0.747 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.5433, allocations: 8.031 kB / 0.747 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005049/0.5438, allocations: 67.58 kB / 0.7471 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004236/0.5442, allocations: 313.2 kB / 0.7474 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.5442, allocations: 20.44 kB / 0.7474 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.849e-05/0.5443, allocations: 16 kB / 0.7474 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000589/0.5449, allocations: 316.2 kB / 0.7477 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.5449, allocations: 0 / 0.7477 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.238e-05/0.5449, allocations: 15.94 kB / 0.7477 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.545, allocations: 7.938 kB / 0.7478 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006136/0.5456, allocations: 244.9 kB / 0.748 GB, free: 3.066 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001769/0.5474, allocations: 1.248 MB / 0.7492 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004267/0.5478, allocations: 170.5 kB / 0.7494 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002924/0.5481, allocations: 124.8 kB / 0.7495 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005991/0.5487, allocations: 299.2 kB / 0.7498 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.778e-05/0.5487, allocations: 42.55 kB / 0.7498 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.483e-06/0.5488, allocations: 0 / 0.7498 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.002182/0.5509, allocations: 0.5719 MB / 0.7504 GB, free: 420 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.551, allocations: 55.41 kB / 0.7504 GB, free: 352 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002774/0.5513, allocations: 246.7 kB / 0.7507 GB, free: 92 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.078e-05/0.5513, allocations: 33.7 kB / 0.7507 GB, free: 52 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.3098/0.8611, allocations: 165.8 kB / 0.7509 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.741e-05/0.8612, allocations: 55.45 kB / 0.7509 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.327e-05/0.8613, allocations: 33.16 kB / 0.7509 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.849e-05/0.8614, allocations: 334.8 kB / 0.7513 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003381/0.8617, allocations: 95.14 kB / 0.7513 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003104/0.862, allocations: 137.7 kB / 0.7515 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005851/0.8626, allocations: 238.8 kB / 0.7517 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.8626, allocations: 1.438 kB / 0.7517 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001227/0.8639, allocations: 350.9 kB / 0.752 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.8639, allocations: 11.44 kB / 0.7521 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.8639, allocations: 1.375 kB / 0.7521 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006433/0.8646, allocations: 88.92 kB / 0.7521 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002455/0.8648, allocations: 42.41 kB / 0.7522 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00212/0.8669, allocations: 1.719 MB / 0.7539 GB, free: 167 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002748/0.8672, allocations: 37.14 kB / 0.7539 GB, free: 167 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.671e-05/0.8673, allocations: 6.578 kB / 0.7539 GB, free: 167 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (16): * 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: 1 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001574/0.8674, allocations: 148.8 kB / 0.754 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.653e-05/0.8675, allocations: 25.52 kB / 0.7541 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001194/0.8687, allocations: 366.3 kB / 0.7544 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.8687, allocations: 2.062 kB / 0.7544 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.8687, allocations: 1.812 kB / 0.7544 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.8688, allocations: 0.7031 kB / 0.7544 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001686/0.8704, allocations: 0.7764 MB / 0.7552 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.8705, allocations: 1.734 kB / 0.7552 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001993/0.8707, allocations: 38.84 kB / 0.7552 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004447/0.8711, allocations: 85 kB / 0.7553 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.986e-05/0.8712, allocations: 7.094 kB / 0.7553 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001694/0.8729, allocations: 1.735 MB / 0.757 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.8729, allocations: 1.688 kB / 0.757 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.8739, allocations: 465.3 kB / 0.7574 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.874, allocations: 121.8 kB / 0.7576 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.351e-05/0.8741, allocations: 2.906 kB / 0.7576 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002445/0.8743, allocations: 26.66 kB / 0.7576 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.163e-05/0.8744, allocations: 22.31 kB / 0.7576 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.383e-05/0.8744, allocations: 5.969 kB / 0.7576 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001691/0.8746, allocations: 187 kB / 0.7578 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.51e-07/0.8746, allocations: 2.188 kB / 0.7578 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004564/0.8751, allocations: 81.19 kB / 0.7579 GB, free: 164.2 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003849/0.8755, allocations: 169.3 kB / 0.758 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001015/0.8765, allocations: 356.4 kB / 0.7584 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.8765, allocations: 1.062 kB / 0.7584 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005658/0.8771, allocations: 258.2 kB / 0.7586 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007071/0.8778, allocations: 125.7 kB / 0.7587 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009965/0.8788, allocations: 0.4985 MB / 0.7592 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002381/0.8791, allocations: 0.77 MB / 0.76 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002313/0.8793, allocations: 55.64 kB / 0.76 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.03e-05/0.8794, allocations: 20.34 kB / 0.7601 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of SimCode: time 9.72e-07/0.8794, allocations: 0 / 0.7601 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.01049/0.8899, allocations: 5.942 MB / 0.7659 GB, free: 159.7 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.makefile (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)