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.001331/0.001331, allocations: 109.5 kB / 16.41 MB, free: 6.453 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.001309/0.001309, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.339/1.339, 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.795/0.795, allocations: 132.2 MB / 423.4 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 64.81 kB / 0.582 GB, free: 23.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1641, allocations: 80.22 MB / 0.6604 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.6085/0.7727, allocations: 181.8 MB / 0.8379 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.007564/0.7803, allocations: 4.446 MB / 0.8422 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001027/0.7814, allocations: 20.16 kB / 0.8422 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001036/0.7824, allocations: 247.5 kB / 0.8425 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00265/0.7851, allocations: 0.7641 MB / 0.8432 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004471/0.7896, allocations: 1.509 MB / 0.8447 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001982/0.7916, allocations: 1.26 MB / 0.8459 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009888/0.7927, allocations: 447.1 kB / 0.8463 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001555/0.7942, allocations: 0.5745 MB / 0.8469 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009561/0.7952, allocations: 411.2 kB / 0.8473 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001881/0.7954, allocations: 45.47 kB / 0.8473 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003695/0.7991, allocations: 1.545 MB / 0.8488 GB, free: 2.027 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003787/0.7995, allocations: 183.1 kB / 0.849 GB, free: 1.902 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006556/0.8002, allocations: 306.3 kB / 0.8493 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003441/0.8036, allocations: 1.318 MB / 0.8506 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.8036, allocations: 0 / 0.8506 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.024e-06/0.8037, allocations: 4 kB / 0.8506 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.014e-05/0.8037, allocations: 0 / 0.8506 GB, free: 0.9102 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.002412/0.8061, allocations: 1.021 MB / 0.8516 GB, free: 68 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.8062, allocations: 9.375 kB / 0.8516 GB, free: 68 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002278/0.8085, allocations: 280.9 kB / 0.8519 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009743/0.8094, allocations: 467.9 kB / 0.8523 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.2e-05/0.8095, allocations: 34.56 kB / 0.8524 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.8096, allocations: 41.75 kB / 0.8524 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/0.8107, allocations: 0.547 MB / 0.8529 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/0.8108, allocations: 0 / 0.8529 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.861e-05/0.8108, allocations: 20.34 kB / 0.8529 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/0.8109, allocations: 10.19 kB / 0.853 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/0.812, allocations: 461.1 kB / 0.8534 GB, free: 14.93 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.003007/0.815, allocations: 2.123 MB / 0.8555 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009929/0.816, allocations: 415.2 kB / 0.8559 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005569/0.8166, allocations: 231.9 kB / 0.8561 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007263/0.8173, allocations: 395.3 kB / 0.8565 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005988/0.8179, allocations: 293 kB / 0.8567 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=37): time 2.384e-06/0.8179, allocations: 0 / 0.8567 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of matching and sorting (n=37): time 0.001898/0.8198, allocations: 0.693 MB / 0.8574 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/0.8199, allocations: 55.41 kB / 0.8575 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00069/0.8206, allocations: 0.4902 MB / 0.858 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.889e-05/0.8207, allocations: 37.64 kB / 0.858 GB, free: 11.17 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002362/0.8209, allocations: 260.1 kB / 0.8582 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/0.8211, allocations: 126.3 kB / 0.8584 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001826/0.8212, allocations: 90.03 kB / 0.8584 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.8214, allocations: 362.8 kB / 0.8588 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005086/0.8219, allocations: 196.8 kB / 0.859 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005891/0.8225, allocations: 312.1 kB / 0.8593 GB, free: 9.797 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/0.8236, allocations: 0.546 MB / 0.8598 GB, free: 9.199 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.8236, allocations: 4 kB / 0.8598 GB, free: 9.195 MB / 0.6231 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001359/0.825, allocations: 0.6483 MB / 0.8604 GB, free: 8.527 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.492e-05/0.825, allocations: 63.39 kB / 0.8605 GB, free: 8.453 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/0.8251, allocations: 4 kB / 0.8605 GB, free: 8.449 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.787e-05/0.8251, allocations: 11 kB / 0.8605 GB, free: 8.441 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004846/0.8256, allocations: 91.88 kB / 0.8606 GB, free: 8.352 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.655e-05/0.8256, allocations: 11.94 kB / 0.8606 GB, free: 8.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006039/0.8262, allocations: 75.39 kB / 0.8607 GB, free: 8.266 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.847e-05/0.8263, allocations: 24.06 kB / 0.8607 GB, free: 8.242 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.0002724/0.8266, allocations: 193.6 kB / 0.8609 GB, free: 8.043 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.8267, allocations: 59.28 kB / 0.861 GB, free: 7.984 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001244/0.8279, allocations: 0.5333 MB / 0.8615 GB, free: 7.438 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.828, allocations: 4 kB / 0.8615 GB, free: 7.434 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.828, allocations: 0 / 0.8615 GB, free: 7.434 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.828, allocations: 3.984 kB / 0.8615 GB, free: 7.43 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002423/0.8304, allocations: 1.348 MB / 0.8628 GB, free: 5.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.8304, allocations: 4 kB / 0.8628 GB, free: 5.977 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004332/0.8309, allocations: 81.69 kB / 0.8629 GB, free: 5.898 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.668e-06/0.8309, allocations: 7.984 kB / 0.8629 GB, free: 5.891 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.594e-05/0.8309, allocations: 12 kB / 0.8629 GB, free: 5.879 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.608e-06/0.8309, allocations: 4.438 kB / 0.8629 GB, free: 5.875 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.831, allocations: 15.92 kB / 0.8629 GB, free: 5.859 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001714/0.8327, allocations: 0.9248 MB / 0.8638 GB, free: 4.871 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002728/0.833, allocations: 172.4 kB / 0.864 GB, free: 4.684 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.8331, allocations: 12 kB / 0.864 GB, free: 4.672 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004835/0.8336, allocations: 36.02 kB / 0.864 GB, free: 4.637 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/0.8337, allocations: 51.83 kB / 0.8641 GB, free: 4.586 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.125e-05/0.8338, allocations: 12 kB / 0.8641 GB, free: 4.574 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004526/0.8342, allocations: 346.8 kB / 0.8644 GB, free: 4.238 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8342, allocations: 0 / 0.8644 GB, free: 4.238 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006477/0.8349, allocations: 155.8 kB / 0.8646 GB, free: 4.086 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.0004997/0.8354, allocations: 204.6 kB / 0.8648 GB, free: 3.891 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001265/0.8367, allocations: 0.5768 MB / 0.8653 GB, free: 3.289 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.8367, allocations: 3.938 kB / 0.8653 GB, free: 3.285 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005952/0.8373, allocations: 260.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.001386/0.8387, allocations: 281.7 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.002069/0.8408, allocations: 1.089 MB / 0.8669 GB, free: 1.602 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004833/0.8413, allocations: 0.8626 MB / 0.8678 GB, free: 0.707 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001995/0.8415, allocations: 47.42 kB / 0.8678 GB, free: 0.6641 MB / 0.6231 GB Notification: Performance of SimCode: time 2.254e-06/0.8415, allocations: 0 / 0.8678 GB, free: 0.6641 MB / 0.6231 GB Notification: Performance of Templates: time 0.01577/0.8572, allocations: 9.158 MB / 0.8767 GB, free: 7.609 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)