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.0008879/0.0008879, allocations: 99.16 kB / 15.05 MB, free: 1.105 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.0008683/0.0008684, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.183/1.183, allocations: 223.2 MB / 239.9 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8431/0.8431, allocations: 135.2 MB / 426.2 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003273/0.0003274, allocations: 13.12 kB / 0.5068 GB, free: 5.273 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1491, allocations: 82.32 MB / 0.5872 GB, free: 3.137 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.3837/0.5328, allocations: 135.6 MB / 0.7196 GB, free: 11.97 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004012/0.5369, allocations: 3.029 MB / 0.7226 GB, free: 9.883 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002713/0.5372, allocations: 9.219 kB / 0.7226 GB, free: 9.879 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000548/0.5377, allocations: 163.5 kB / 0.7227 GB, free: 9.785 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0008642/0.5386, allocations: 348.2 kB / 0.7231 GB, free: 9.566 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001229/0.5399, allocations: 477.2 kB / 0.7235 GB, free: 9.34 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004909/0.5404, allocations: 372.8 kB / 0.7239 GB, free: 9.152 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003214/0.5407, allocations: 180.2 kB / 0.7241 GB, free: 9.094 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007085/0.5414, allocations: 347.6 kB / 0.7244 GB, free: 8.926 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001958/0.5416, allocations: 140.4 kB / 0.7245 GB, free: 8.867 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.977e-05/0.5416, allocations: 10.88 kB / 0.7245 GB, free: 8.867 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005491/0.5422, allocations: 254.6 kB / 0.7248 GB, free: 8.801 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.5423, allocations: 82.08 kB / 0.7249 GB, free: 8.77 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.412e-05/0.5424, allocations: 71.47 kB / 0.7249 GB, free: 8.719 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004542/0.5429, allocations: 312.2 kB / 0.7252 GB, free: 8.652 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.5429, allocations: 0 / 0.7252 GB, free: 8.652 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.193e-06/0.5429, allocations: 1.219 kB / 0.7252 GB, free: 8.652 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.5429, allocations: 0 / 0.7252 GB, free: 8.652 MB / 0.545 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.0009162/0.5438, allocations: 0.6001 MB / 0.7258 GB, free: 8.164 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.992e-05/0.5438, allocations: 9.344 kB / 0.7258 GB, free: 8.164 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004791/0.5443, allocations: 73.16 kB / 0.7259 GB, free: 8.145 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003611/0.5447, allocations: 286.9 kB / 0.7262 GB, free: 7.891 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.5447, allocations: 12.97 kB / 0.7262 GB, free: 7.887 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.183e-05/0.5448, allocations: 20.97 kB / 0.7262 GB, free: 7.879 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005893/0.5454, allocations: 328.5 kB / 0.7265 GB, free: 7.723 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.567e-06/0.5454, allocations: 9.344 kB / 0.7265 GB, free: 7.719 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.561e-05/0.5454, allocations: 6.469 kB / 0.7265 GB, free: 7.715 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.5454, allocations: 6.828 kB / 0.7265 GB, free: 7.711 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006265/0.546, allocations: 277.5 kB / 0.7268 GB, free: 7.648 MB / 0.545 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.001526/0.5476, allocations: 1.249 MB / 0.728 GB, free: 6.633 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004363/0.548, allocations: 213.3 kB / 0.7282 GB, free: 6.559 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003688/0.5484, allocations: 135.6 kB / 0.7283 GB, free: 6.461 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.5484, allocations: 39.2 kB / 0.7284 GB, free: 6.414 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.232e-06/0.5485, allocations: 4 kB / 0.7284 GB, free: 6.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.002107/0.5506, allocations: 0.609 MB / 0.729 GB, free: 6.176 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/0.5506, allocations: 56.78 kB / 0.729 GB, free: 6.109 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002808/0.5509, allocations: 257.8 kB / 0.7293 GB, free: 5.961 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.859e-05/0.5509, allocations: 27.11 kB / 0.7293 GB, free: 5.93 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.5511, allocations: 171.6 kB / 0.7295 GB, free: 5.781 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.601e-05/0.5511, allocations: 51.14 kB / 0.7295 GB, free: 5.742 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.078e-05/0.5512, allocations: 0 / 0.7295 GB, free: 5.742 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.5513, allocations: 336 kB / 0.7298 GB, free: 5.418 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000318/0.5516, allocations: 111.1 kB / 0.7299 GB, free: 5.395 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003341/0.552, allocations: 154.1 kB / 0.7301 GB, free: 5.32 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003174/0.5523, allocations: 120.9 kB / 0.7302 GB, free: 5.289 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.5523, allocations: 1.594 kB / 0.7302 GB, free: 5.289 MB / 0.545 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001151/0.5535, allocations: 395.8 kB / 0.7306 GB, free: 5.152 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.5535, allocations: 8 kB / 0.7306 GB, free: 5.152 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.5535, allocations: 2.125 kB / 0.7306 GB, free: 5.152 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005675/0.5541, allocations: 90.28 kB / 0.7307 GB, free: 5.133 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000234/0.5543, allocations: 46.88 kB / 0.7307 GB, free: 5.133 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002081/0.5564, allocations: 1.629 MB / 0.7323 GB, free: 3.684 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000288/0.5567, allocations: 47.09 kB / 0.7324 GB, free: 3.668 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.822e-05/0.5568, allocations: 6.203 kB / 0.7324 GB, free: 3.668 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001861/0.5569, allocations: 146 kB / 0.7325 GB, free: 3.535 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.463e-05/0.557, allocations: 23.53 kB / 0.7325 GB, free: 3.523 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001129/0.5581, allocations: 398.3 kB / 0.7329 GB, free: 3.383 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.5582, allocations: 6.297 kB / 0.7329 GB, free: 3.379 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/0.5582, allocations: 0 / 0.7329 GB, free: 3.379 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.5582, allocations: 1.406 kB / 0.7329 GB, free: 3.379 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001948/0.5601, allocations: 0.9557 MB / 0.7338 GB, free: 2.781 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.5602, allocations: 0.6562 kB / 0.7338 GB, free: 2.781 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001811/0.5603, allocations: 50.48 kB / 0.7339 GB, free: 2.773 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004634/0.5608, allocations: 93.38 kB / 0.734 GB, free: 2.75 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.5608, allocations: 2.469 kB / 0.734 GB, free: 2.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001687/0.5625, allocations: 1.655 MB / 0.7356 GB, free: 1.281 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.5625, allocations: 6.719 kB / 0.7356 GB, free: 1.281 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.5636, allocations: 0.5465 MB / 0.7361 GB, free: 0.9219 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.5638, allocations: 118.4 kB / 0.7363 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.569e-05/0.5638, allocations: 8.047 kB / 0.7363 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002594/0.5641, allocations: 33.58 kB / 0.7363 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.92e-05/0.5642, allocations: 26.12 kB / 0.7363 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.216e-05/0.5642, allocations: 8.609 kB / 0.7363 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001672/0.5644, allocations: 180.5 kB / 0.7365 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5644, allocations: 0 / 0.7365 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004283/0.5648, allocations: 83.5 kB / 0.7366 GB, free: 0.6719 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003036/0.5651, allocations: 153.6 kB / 0.7367 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009079/0.566, allocations: 390.6 kB / 0.7371 GB, free: 400 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.5661, allocations: 4.062 kB / 0.7371 GB, free: 396 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005246/0.5666, allocations: 280.2 kB / 0.7374 GB, free: 236 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006048/0.5672, allocations: 111.2 kB / 0.7375 GB, free: 212 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001752/0.569, allocations: 0.7261 MB / 0.7382 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/0.5693, allocations: 0.7808 MB / 0.739 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002003/0.5695, allocations: 57.41 kB / 0.739 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.134e-05/0.5695, allocations: 19.41 kB / 0.739 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of SimCode: time 4.71e-07/0.5695, allocations: 0 / 0.739 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of Templates: time 0.008442/0.578, allocations: 5.241 MB / 0.7441 GB, free: 11.11 MB / 0.5606 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: