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.001356/0.001356, allocations: 110 kB / 16.37 MB, free: 6.469 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.001347/0.001347, allocations: 195.8 kB / 17.31 MB, free: 5.824 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.359/1.359, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8032/0.8032, allocations: 132.2 MB / 423.3 MB, free: 6.621 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 63.91 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.3895, allocations: 80.18 MB / 0.5815 GB, free: 27.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1716/0.5612, allocations: 161.5 MB / 0.7392 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005042/0.5662, allocations: 3.485 MB / 0.7426 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003139/0.5666, allocations: 7.938 kB / 0.7426 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004761/0.5671, allocations: 139 kB / 0.7427 GB, free: 8.551 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001344/0.5685, allocations: 449.9 kB / 0.7432 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001637/0.5701, allocations: 0.5951 MB / 0.7438 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007938/0.571, allocations: 0.6166 MB / 0.7444 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003436/0.5713, allocations: 232.4 kB / 0.7446 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001054/0.5724, allocations: 341.7 kB / 0.7449 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002423/0.5726, allocations: 187.3 kB / 0.7451 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.661e-05/0.5727, allocations: 20 kB / 0.7451 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009314/0.5736, allocations: 0.5534 MB / 0.7456 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.5737, allocations: 95.7 kB / 0.7457 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001789/0.5739, allocations: 143.3 kB / 0.7459 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008115/0.5747, allocations: 0.5492 MB / 0.7464 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.5747, allocations: 4 kB / 0.7464 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.032e-06/0.5748, allocations: 0 / 0.7464 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.825e-06/0.5748, allocations: 0 / 0.7464 GB, free: 4.801 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.001216/0.576, allocations: 0.6311 MB / 0.747 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.576, allocations: 8.031 kB / 0.747 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004957/0.5765, allocations: 79.58 kB / 0.7471 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005115/0.5771, allocations: 305.2 kB / 0.7474 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.5771, allocations: 20.44 kB / 0.7474 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.538e-05/0.5771, allocations: 16 kB / 0.7474 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006351/0.5778, allocations: 312.2 kB / 0.7477 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.5778, allocations: 0 / 0.7477 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.342e-05/0.5778, allocations: 15.94 kB / 0.7477 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.5779, allocations: 7.938 kB / 0.7478 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006563/0.5785, allocations: 248.9 kB / 0.748 GB, free: 3.07 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.002036/0.5806, allocations: 1.252 MB / 0.7492 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000414/0.581, allocations: 170.5 kB / 0.7494 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003143/0.5813, allocations: 128.8 kB / 0.7495 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006397/0.582, allocations: 299.2 kB / 0.7498 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.648e-05/0.582, allocations: 34.56 kB / 0.7498 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.834e-06/0.582, allocations: 0 / 0.7498 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.002414/0.5844, allocations: 0.5798 MB / 0.7504 GB, free: 416 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/0.5845, allocations: 51.41 kB / 0.7504 GB, free: 352 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003533/0.5848, allocations: 250.7 kB / 0.7507 GB, free: 88 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.964e-05/0.5849, allocations: 29.7 kB / 0.7507 GB, free: 52 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.2644/0.8493, allocations: 164.4 kB / 0.7509 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.28e-05/0.8494, allocations: 46.81 kB / 0.7509 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.343e-05/0.8495, allocations: 38.12 kB / 0.7509 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.45e-05/0.8496, allocations: 335.2 kB / 0.7513 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000349/0.85, allocations: 92.47 kB / 0.7513 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003325/0.8503, allocations: 144.1 kB / 0.7515 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006036/0.8509, allocations: 235.1 kB / 0.7517 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.8509, allocations: 4.438 kB / 0.7517 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001258/0.8522, allocations: 355.2 kB / 0.7521 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.8522, allocations: 5.594 kB / 0.7521 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.8523, allocations: 2.719 kB / 0.7521 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006373/0.8529, allocations: 93.31 kB / 0.7522 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002309/0.8531, allocations: 38.77 kB / 0.7522 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001963/0.8551, allocations: 1.723 MB / 0.7539 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002852/0.8554, allocations: 42.44 kB / 0.7539 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.459e-05/0.8555, allocations: 5.938 kB / 0.7539 GB, free: 167.1 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.0001615/0.8556, allocations: 148.5 kB / 0.7541 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.745e-05/0.8557, allocations: 22.47 kB / 0.7541 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001177/0.8569, allocations: 364.1 kB / 0.7544 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.8569, allocations: 2.094 kB / 0.7544 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.8569, allocations: 0.5625 kB / 0.7544 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.8569, allocations: 1.344 kB / 0.7544 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001632/0.8585, allocations: 0.7799 MB / 0.7552 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.8586, allocations: 1.219 kB / 0.7552 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001972/0.8588, allocations: 37.64 kB / 0.7552 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004492/0.8592, allocations: 77.5 kB / 0.7553 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.8592, allocations: 7 kB / 0.7553 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001684/0.8609, allocations: 1.747 MB / 0.757 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.861, allocations: 8.891 kB / 0.757 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/0.862, allocations: 453.3 kB / 0.7575 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.8622, allocations: 124.9 kB / 0.7576 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.336e-05/0.8622, allocations: 1.938 kB / 0.7576 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002454/0.8625, allocations: 23.33 kB / 0.7576 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.097e-05/0.8625, allocations: 28.83 kB / 0.7576 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.241e-05/0.8626, allocations: 5.219 kB / 0.7576 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001628/0.8627, allocations: 183.1 kB / 0.7578 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8627, allocations: 0 / 0.7578 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004428/0.8632, allocations: 84.53 kB / 0.7579 GB, free: 164.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 (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.0003647/0.8636, allocations: 160.5 kB / 0.758 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009916/0.8646, allocations: 360.6 kB / 0.7584 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.8646, allocations: 4.469 kB / 0.7584 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005452/0.8651, allocations: 252.6 kB / 0.7586 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006824/0.8658, allocations: 122.9 kB / 0.7587 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009071/0.8667, allocations: 0.4974 MB / 0.7592 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002291/0.867, allocations: 0.7753 MB / 0.76 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002002/0.8672, allocations: 49.95 kB / 0.76 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.081e-05/0.8673, allocations: 24.31 kB / 0.7601 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of SimCode: time 5.61e-07/0.8673, allocations: 4.75 kB / 0.7601 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of Templates: time 0.01131/0.8786, allocations: 5.941 MB / 0.7659 GB, free: 159.8 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 gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)