Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.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.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 110.7 kB / 16.41 MB, free: 6.438 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.001172/0.001172, allocations: 189.6 kB / 17.34 MB, free: 5.742 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.308/1.308, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.793/0.793, allocations: 132.2 MB / 423.4 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002104, allocations: 72.23 kB / 0.582 GB, free: 23.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1528, allocations: 80.21 MB / 0.6604 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5466/0.6994, allocations: 181.8 MB / 0.8379 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006173/0.7056, allocations: 4.442 MB / 0.8422 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008041/0.7065, allocations: 20.5 kB / 0.8422 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008336/0.7074, allocations: 247.8 kB / 0.8425 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002137/0.7095, allocations: 0.7572 MB / 0.8432 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003679/0.7132, allocations: 1.519 MB / 0.8447 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001768/0.715, allocations: 1.263 MB / 0.8459 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008295/0.7159, allocations: 446.8 kB / 0.8463 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001348/0.7172, allocations: 0.5695 MB / 0.8469 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007461/0.718, allocations: 413.5 kB / 0.8473 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001284/0.7181, allocations: 49.34 kB / 0.8473 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002907/0.721, allocations: 1.548 MB / 0.8488 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000284/0.7213, allocations: 184.1 kB / 0.849 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000474/0.7218, allocations: 301.1 kB / 0.8493 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002808/0.7246, allocations: 1.321 MB / 0.8506 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.7247, allocations: 0 / 0.8506 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7247, allocations: 0 / 0.8506 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.445e-05/0.7247, allocations: 0 / 0.8506 GB, free: 0.9062 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001932/0.7266, allocations: 1.016 MB / 0.8516 GB, free: 68 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.7267, allocations: 10 kB / 0.8516 GB, free: 68 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002111/0.7288, allocations: 287.2 kB / 0.8519 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008222/0.7296, allocations: 461.8 kB / 0.8523 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.509e-05/0.7297, allocations: 38.08 kB / 0.8524 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.137e-05/0.7298, allocations: 43.06 kB / 0.8524 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.7309, allocations: 0.5459 MB / 0.8529 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.7309, allocations: 10.53 kB / 0.8529 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.726e-05/0.7309, allocations: 24.61 kB / 0.853 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.436e-05/0.731, allocations: 7.531 kB / 0.853 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001028/0.732, allocations: 457.1 kB / 0.8534 GB, free: 14.91 MB / 0.6231 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.002677/0.7347, allocations: 2.118 MB / 0.8555 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009561/0.7357, allocations: 411.8 kB / 0.8559 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004716/0.7361, allocations: 223.3 kB / 0.8561 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006712/0.7368, allocations: 402 kB / 0.8565 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006198/0.7375, allocations: 293.3 kB / 0.8567 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=37): time 2.896e-06/0.7375, allocations: 4 kB / 0.8567 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of matching and sorting (n=37): time 0.001813/0.7393, allocations: 0.6875 MB / 0.8574 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.7394, allocations: 59.41 kB / 0.8575 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006351/0.74, allocations: 494 kB / 0.8579 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.456e-05/0.7401, allocations: 37.7 kB / 0.858 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000205/0.7403, allocations: 256.1 kB / 0.8582 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/0.7404, allocations: 122.3 kB / 0.8583 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001647/0.7406, allocations: 94.02 kB / 0.8584 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.7408, allocations: 366.8 kB / 0.8588 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004883/0.7412, allocations: 196.8 kB / 0.859 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005597/0.7418, allocations: 320 kB / 0.8593 GB, free: 9.801 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/0.7429, allocations: 0.5429 MB / 0.8598 GB, free: 9.207 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.7429, allocations: 0 / 0.8598 GB, free: 9.207 MB / 0.6231 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00137/0.7443, allocations: 0.648 MB / 0.8604 GB, free: 8.539 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.146e-05/0.7443, allocations: 63.39 kB / 0.8605 GB, free: 8.465 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.7443, allocations: 7.938 kB / 0.8605 GB, free: 8.457 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/0.7444, allocations: 4 kB / 0.8605 GB, free: 8.453 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004785/0.7448, allocations: 104.2 kB / 0.8606 GB, free: 8.352 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/0.7449, allocations: 4 kB / 0.8606 GB, free: 8.348 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005917/0.7455, allocations: 83 kB / 0.8607 GB, free: 8.27 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.807e-05/0.7455, allocations: 24 kB / 0.8607 GB, free: 8.246 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 (m_flow2.count,$PRE.m_flow2.count,m_flow2.T_start,$PRE.m_flow2.T_start,m_flow1.count,$PRE.m_flow1.count,m_flow1.T_start,$PRE.m_flow1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002631/0.7458, allocations: 194.1 kB / 0.8609 GB, free: 8.047 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.885e-05/0.7459, allocations: 59.28 kB / 0.861 GB, free: 7.988 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001258/0.7472, allocations: 0.5334 MB / 0.8615 GB, free: 7.441 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.7472, allocations: 4 kB / 0.8615 GB, free: 7.438 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.7472, allocations: 0 / 0.8615 GB, free: 7.438 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.7472, allocations: 3.984 kB / 0.8615 GB, free: 7.434 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002346/0.7496, allocations: 1.352 MB / 0.8628 GB, free: 5.984 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.7496, allocations: 8.031 kB / 0.8628 GB, free: 5.977 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004281/0.75, allocations: 71.88 kB / 0.8629 GB, free: 5.906 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.907e-06/0.75, allocations: 4 kB / 0.8629 GB, free: 5.902 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.533e-05/0.7501, allocations: 16 kB / 0.8629 GB, free: 5.887 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.307e-06/0.7501, allocations: 7.938 kB / 0.8629 GB, free: 5.879 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.7501, allocations: 4 kB / 0.8629 GB, free: 5.875 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001747/0.7519, allocations: 0.9366 MB / 0.8638 GB, free: 4.875 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002483/0.7521, allocations: 168.3 kB / 0.864 GB, free: 4.691 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.7522, allocations: 11.98 kB / 0.864 GB, free: 4.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000482/0.7527, allocations: 32.84 kB / 0.864 GB, free: 4.648 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/0.7529, allocations: 59.88 kB / 0.8641 GB, free: 4.59 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.161e-05/0.7529, allocations: 12 kB / 0.8641 GB, free: 4.578 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004268/0.7533, allocations: 342.8 kB / 0.8644 GB, free: 4.246 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7534, allocations: 4 kB / 0.8644 GB, free: 4.242 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006369/0.754, allocations: 151.8 kB / 0.8646 GB, free: 4.094 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004699/0.7545, allocations: 210.1 kB / 0.8648 GB, free: 3.895 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001279/0.7558, allocations: 0.5771 MB / 0.8653 GB, free: 3.293 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.7558, allocations: 0 / 0.8653 GB, free: 3.293 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006182/0.7564, allocations: 267.6 kB / 0.8656 GB, free: 3.031 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001466/0.7579, allocations: 287.3 kB / 0.8659 GB, free: 2.766 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001967/0.7599, allocations: 1.084 MB / 0.8669 GB, free: 1.605 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000428/0.7603, allocations: 0.8587 MB / 0.8678 GB, free: 0.7148 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002039/0.7605, allocations: 51.42 kB / 0.8678 GB, free: 0.668 MB / 0.6231 GB Notification: Performance of SimCode: time 4.21e-07/0.7605, allocations: 0 / 0.8678 GB, free: 0.668 MB / 0.6231 GB Notification: Performance of Templates: time 0.01416/0.7747, allocations: 9.084 MB / 0.8767 GB, free: 7.684 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)