Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb") translateModel(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001489/0.001489, allocations: 107.6 kB / 15.99 MB, free: 5.91 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.001494/0.001494, allocations: 193.6 kB / 16.91 MB, free: 5.754 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.366/1.366, allocations: 222.9 MB / 240.6 MB, free: 13.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8501/0.8501, allocations: 135.2 MB / 425.9 MB, free: 4.297 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 63.91 kB / 0.5055 GB, free: 8.703 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3651, allocations: 80.92 MB / 0.5846 GB, free: 24.9 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1878/0.5529, allocations: 159.3 MB / 0.7401 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005278/0.5582, allocations: 3.463 MB / 0.7435 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003654/0.5586, allocations: 7.938 kB / 0.7435 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004694/0.5591, allocations: 119.3 kB / 0.7436 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001251/0.5604, allocations: 422.2 kB / 0.744 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001569/0.562, allocations: 0.541 MB / 0.7445 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007649/0.5628, allocations: 0.6205 MB / 0.7451 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003754/0.5632, allocations: 228.6 kB / 0.7454 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001646/0.5648, allocations: 337.3 kB / 0.7457 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002936/0.5651, allocations: 207.1 kB / 0.7459 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.855e-05/0.5652, allocations: 28 kB / 0.7459 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009759/0.5662, allocations: 0.5689 MB / 0.7465 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.5663, allocations: 99.72 kB / 0.7465 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001646/0.5664, allocations: 139.3 kB / 0.7467 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005962/0.5671, allocations: 399.2 kB / 0.7471 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.5671, allocations: 0 / 0.7471 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.644e-06/0.5671, allocations: 0 / 0.7471 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.112e-05/0.5671, allocations: 0 / 0.7471 GB, free: 3.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.00115/0.5682, allocations: 0.6338 MB / 0.7477 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.5683, allocations: 17.05 kB / 0.7477 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005239/0.5688, allocations: 67.58 kB / 0.7478 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004026/0.5692, allocations: 297.3 kB / 0.748 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.5693, allocations: 12.44 kB / 0.7481 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.219e-05/0.5693, allocations: 28 kB / 0.7481 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006676/0.57, allocations: 308.1 kB / 0.7484 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.57, allocations: 0 / 0.7484 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.572e-05/0.5701, allocations: 15.94 kB / 0.7484 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.5701, allocations: 8 kB / 0.7484 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006671/0.5707, allocations: 244.9 kB / 0.7486 GB, free: 2.078 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.001771/0.5725, allocations: 1.248 MB / 0.7499 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004443/0.573, allocations: 170.5 kB / 0.75 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003077/0.5733, allocations: 128.7 kB / 0.7501 GB, free: 424 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006168/0.5739, allocations: 303.2 kB / 0.7504 GB, free: 64 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.574, allocations: 38.5 kB / 0.7505 GB, free: 16 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.983e-06/0.574, allocations: 0 / 0.7505 GB, free: 16 kB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.2759/0.8499, allocations: 0.5611 MB / 0.751 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/0.85, allocations: 54.02 kB / 0.7511 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002949/0.8503, allocations: 257.4 kB / 0.7513 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.8503, allocations: 28.52 kB / 0.7513 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.8504, allocations: 162.6 kB / 0.7515 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.796e-05/0.8505, allocations: 52.33 kB / 0.7515 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.36e-05/0.8506, allocations: 36.41 kB / 0.7516 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.152e-05/0.8506, allocations: 339.4 kB / 0.7519 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003212/0.851, allocations: 99.7 kB / 0.752 GB, free: 166 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003221/0.8513, allocations: 135.7 kB / 0.7521 GB, free: 166 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006033/0.8519, allocations: 244.2 kB / 0.7524 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.8519, allocations: 0 / 0.7524 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001182/0.8531, allocations: 351.5 kB / 0.7527 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.8531, allocations: 5.703 kB / 0.7527 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.8532, allocations: 2.781 kB / 0.7527 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006239/0.8538, allocations: 87.23 kB / 0.7528 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/0.854, allocations: 48.28 kB / 0.7528 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002085/0.8561, allocations: 1.728 MB / 0.7545 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002842/0.8564, allocations: 35.09 kB / 0.7546 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.937e-05/0.8565, allocations: 8.203 kB / 0.7546 GB, free: 164.2 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.0001864/0.8567, allocations: 148.1 kB / 0.7547 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.024e-05/0.8567, allocations: 26.84 kB / 0.7547 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001234/0.858, allocations: 362.9 kB / 0.7551 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.858, allocations: 1.625 kB / 0.7551 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.858, allocations: 0 / 0.7551 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.858, allocations: 2.562 kB / 0.7551 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001673/0.8597, allocations: 0.7845 MB / 0.7558 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.8597, allocations: 1.5 kB / 0.7558 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001939/0.8599, allocations: 35.66 kB / 0.7559 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004521/0.8604, allocations: 76.08 kB / 0.7559 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.262e-05/0.8604, allocations: 6.125 kB / 0.756 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001897/0.8623, allocations: 1.743 MB / 0.7577 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.8623, allocations: 2.844 kB / 0.7577 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/0.8635, allocations: 462.3 kB / 0.7581 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/0.8637, allocations: 128.5 kB / 0.7582 GB, free: 161.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.363e-05/0.8637, allocations: 2.344 kB / 0.7582 GB, free: 161.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002639/0.864, allocations: 25.78 kB / 0.7583 GB, free: 161.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.432e-05/0.8641, allocations: 16.95 kB / 0.7583 GB, free: 161.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.848e-05/0.8641, allocations: 4.969 kB / 0.7583 GB, free: 161.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002003/0.8643, allocations: 189.1 kB / 0.7585 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8643, allocations: 0 / 0.7585 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005009/0.8648, allocations: 88.27 kB / 0.7585 GB, free: 161.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.0004268/0.8653, allocations: 158 kB / 0.7587 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001002/0.8663, allocations: 371.2 kB / 0.759 GB, free: 161 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.8663, allocations: 0 / 0.759 GB, free: 161 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005762/0.8669, allocations: 258.6 kB / 0.7593 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007305/0.8676, allocations: 125 kB / 0.7594 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.8687, allocations: 0.6149 MB / 0.76 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002424/0.8689, allocations: 0.7655 MB / 0.7608 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.112e-05/0.869, allocations: 22.12 kB / 0.7608 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of SimCode: time 5.11e-07/0.869, allocations: 1.812 kB / 0.7608 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of Templates: time 0.009176/0.8782, allocations: 5.396 MB / 0.766 GB, free: 156.8 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)