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.001269/0.00127, allocations: 104.1 kB / 15.88 MB, free: 4 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 196.3 kB / 16.79 MB, free: 6.832 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.338/1.338, allocations: 222.9 MB / 240.5 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9886/0.9886, allocations: 135.1 MB / 425.7 MB, free: 11.83 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 64.91 kB / 0.5053 GB, free: 5.746 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.1659, allocations: 80.93 MB / 0.5843 GB, free: 4.988 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.4793/0.6452, allocations: 159.2 MB / 0.7398 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004828/0.6501, allocations: 3.508 MB / 0.7433 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003735/0.6505, allocations: 11 kB / 0.7433 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004616/0.651, allocations: 106.8 kB / 0.7434 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001305/0.6523, allocations: 424.9 kB / 0.7438 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001585/0.6539, allocations: 0.5398 MB / 0.7443 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000861/0.6548, allocations: 0.8133 MB / 0.7451 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000334/0.6551, allocations: 193 kB / 0.7453 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001547/0.6567, allocations: 307.2 kB / 0.7456 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003001/0.657, allocations: 200.2 kB / 0.7458 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.515e-05/0.6571, allocations: 14 kB / 0.7458 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00113/0.6582, allocations: 0.6278 MB / 0.7464 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.6583, allocations: 84.38 kB / 0.7465 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001529/0.6585, allocations: 144.8 kB / 0.7466 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005158/0.659, allocations: 387.2 kB / 0.747 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.659, allocations: 2.75 kB / 0.747 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.222e-06/0.659, allocations: 0 / 0.747 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.659, allocations: 0 / 0.747 GB, free: 5.035 MB / 0.5606 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.001065/0.6601, allocations: 0.6349 MB / 0.7476 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.6602, allocations: 10.09 kB / 0.7476 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000512/0.6607, allocations: 75.39 kB / 0.7477 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003349/0.661, allocations: 288.2 kB / 0.748 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.661, allocations: 16.41 kB / 0.748 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.492e-05/0.6611, allocations: 16.66 kB / 0.748 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006189/0.6617, allocations: 317 kB / 0.7483 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.6617, allocations: 2.656 kB / 0.7483 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.797e-05/0.6618, allocations: 4 kB / 0.7483 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.6618, allocations: 9.281 kB / 0.7483 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006311/0.6624, allocations: 254.5 kB / 0.7485 GB, free: 3.805 MB / 0.5606 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.001552/0.664, allocations: 1.241 MB / 0.7498 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004459/0.6644, allocations: 180.9 kB / 0.7499 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003011/0.6647, allocations: 127.8 kB / 0.75 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000576/0.6653, allocations: 299.9 kB / 0.7503 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.6654, allocations: 34.56 kB / 0.7504 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.292e-06/0.6654, allocations: 3.938 kB / 0.7504 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.002179/0.6676, allocations: 0.5775 MB / 0.7509 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.654e-05/0.6676, allocations: 51.41 kB / 0.751 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002384/0.6679, allocations: 252.1 kB / 0.7512 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.76e-05/0.6679, allocations: 29.7 kB / 0.7513 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.668, allocations: 169 kB / 0.7514 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.166e-05/0.6681, allocations: 51.42 kB / 0.7515 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.019e-05/0.6681, allocations: 42.55 kB / 0.7515 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.6683, allocations: 332.1 kB / 0.7518 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002758/0.6685, allocations: 94.78 kB / 0.7519 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002896/0.6688, allocations: 136.8 kB / 0.752 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005467/0.6694, allocations: 242.7 kB / 0.7523 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.6694, allocations: 0 / 0.7523 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001107/0.6705, allocations: 355.3 kB / 0.7526 GB, free: 492 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.6706, allocations: 10.28 kB / 0.7526 GB, free: 488 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.6706, allocations: 2.469 kB / 0.7526 GB, free: 488 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005943/0.6712, allocations: 90.08 kB / 0.7527 GB, free: 440 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/0.6714, allocations: 37.94 kB / 0.7527 GB, free: 432 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002158/0.6736, allocations: 1.612 MB / 0.7543 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002705/0.6738, allocations: 35.03 kB / 0.7544 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.101e-05/0.6739, allocations: 15.94 kB / 0.7544 GB, free: 14.84 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.0001478/0.674, allocations: 141.8 kB / 0.7545 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.436e-05/0.6741, allocations: 27.72 kB / 0.7545 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001132/0.6752, allocations: 364 kB / 0.7549 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.6753, allocations: 4 kB / 0.7549 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.6753, allocations: 0 / 0.7549 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.6753, allocations: 0 / 0.7549 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001638/0.6769, allocations: 0.7746 MB / 0.7556 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.6769, allocations: 0 / 0.7556 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001862/0.6771, allocations: 39.97 kB / 0.7557 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004806/0.6776, allocations: 88.8 kB / 0.7558 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.6776, allocations: 4 kB / 0.7558 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001742/0.6794, allocations: 1.619 MB / 0.7573 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.6794, allocations: 7.922 kB / 0.7574 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.6805, allocations: 454.5 kB / 0.7578 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.6806, allocations: 120.7 kB / 0.7579 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.661e-05/0.6806, allocations: 11.98 kB / 0.7579 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002565/0.6809, allocations: 23.97 kB / 0.7579 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.487e-05/0.681, allocations: 11.98 kB / 0.7579 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.297e-05/0.681, allocations: 12 kB / 0.758 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001539/0.6812, allocations: 189.8 kB / 0.7581 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.21e-07/0.6812, allocations: 4 kB / 0.7581 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004258/0.6816, allocations: 87.83 kB / 0.7582 GB, free: 10.61 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.0003686/0.682, allocations: 154.1 kB / 0.7584 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000948/0.6829, allocations: 364.8 kB / 0.7587 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.6829, allocations: 0 / 0.7587 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005466/0.6835, allocations: 250.7 kB / 0.759 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007292/0.6842, allocations: 122.3 kB / 0.7591 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000896/0.6851, allocations: 0.6192 MB / 0.7597 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.6855, allocations: 0.7752 MB / 0.7604 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.107e-05/0.6855, allocations: 23.44 kB / 0.7605 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.6855, allocations: 0 / 0.7605 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of Templates: time 0.007189/0.6927, allocations: 5.379 MB / 0.7657 GB, free: 2.918 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)