Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001272/0.001272, allocations: 104.5 kB / 16.4 MB, free: 6.508 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.001218/0.001218, allocations: 187 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.348/1.348, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7893/0.7893, allocations: 135.1 MB / 426.3 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 64.81 kB / 0.5863 GB, free: 21.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1606, allocations: 80.93 MB / 0.6653 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.565/0.7257, allocations: 181.8 MB / 0.8428 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0067/0.7324, allocations: 4.452 MB / 0.8472 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009228/0.7334, allocations: 24.44 kB / 0.8472 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009874/0.7344, allocations: 253.7 kB / 0.8474 GB, free: 488 kB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002429/0.7369, allocations: 0.7648 MB / 0.8482 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00432/0.7412, allocations: 1.508 MB / 0.8497 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002017/0.7433, allocations: 1.259 MB / 0.8509 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009483/0.7442, allocations: 447.3 kB / 0.8513 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001471/0.7457, allocations: 0.5801 MB / 0.8519 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007939/0.7465, allocations: 404.8 kB / 0.8523 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001695/0.7467, allocations: 44.97 kB / 0.8523 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003315/0.75, allocations: 1.55 MB / 0.8538 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003444/0.7504, allocations: 177.9 kB / 0.854 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006732/0.7511, allocations: 309.6 kB / 0.8543 GB, free: 12 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003348/0.7544, allocations: 1.319 MB / 0.8556 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.7545, allocations: 0 / 0.8556 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.685e-06/0.7545, allocations: 2.75 kB / 0.8556 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.418e-05/0.7545, allocations: 0 / 0.8556 GB, free: 11.2 MB / 0.6231 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.002325/0.7569, allocations: 1.022 MB / 0.8566 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.7569, allocations: 11.27 kB / 0.8566 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002211/0.7591, allocations: 279.1 kB / 0.8569 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009906/0.7601, allocations: 470 kB / 0.8573 GB, free: 9.836 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.376e-05/0.7602, allocations: 30.56 kB / 0.8573 GB, free: 9.824 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.7603, allocations: 42.53 kB / 0.8574 GB, free: 9.812 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/0.7614, allocations: 0.5516 MB / 0.8579 GB, free: 9.445 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.7615, allocations: 0 / 0.8579 GB, free: 9.445 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.241e-05/0.7615, allocations: 20.97 kB / 0.8579 GB, free: 9.43 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.7615, allocations: 7.812 kB / 0.8579 GB, free: 9.43 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001051/0.7626, allocations: 460.4 kB / 0.8584 GB, free: 9.215 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.003203/0.7658, allocations: 2.126 MB / 0.8605 GB, free: 7.125 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/0.7669, allocations: 414.9 kB / 0.8608 GB, free: 6.711 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005047/0.7674, allocations: 220.7 kB / 0.8611 GB, free: 6.492 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007489/0.7682, allocations: 404.3 kB / 0.8614 GB, free: 6.023 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006326/0.7688, allocations: 287.1 kB / 0.8617 GB, free: 5.73 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=37): time 2.975e-06/0.7688, allocations: 0 / 0.8617 GB, free: 5.73 MB / 0.6231 GB Notification: Performance of matching and sorting (n=37): time 0.001874/0.7707, allocations: 0.6861 MB / 0.8624 GB, free: 5.039 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.7708, allocations: 55.41 kB / 0.8624 GB, free: 4.973 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006202/0.7714, allocations: 0.4902 MB / 0.8629 GB, free: 4.469 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.66e-05/0.7715, allocations: 33.7 kB / 0.8629 GB, free: 4.43 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002103/0.7717, allocations: 264 kB / 0.8632 GB, free: 4.168 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.7718, allocations: 126.3 kB / 0.8633 GB, free: 4.043 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001526/0.772, allocations: 90.03 kB / 0.8634 GB, free: 3.949 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.00018/0.7722, allocations: 366.7 kB / 0.8638 GB, free: 3.582 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005088/0.7727, allocations: 200.8 kB / 0.8639 GB, free: 3.383 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005797/0.7733, allocations: 316.1 kB / 0.8643 GB, free: 3.035 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/0.7743, allocations: 0.541 MB / 0.8648 GB, free: 2.441 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.7743, allocations: 0 / 0.8648 GB, free: 2.441 MB / 0.6231 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001354/0.7757, allocations: 0.6442 MB / 0.8654 GB, free: 1.777 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.89e-05/0.7758, allocations: 67.39 kB / 0.8655 GB, free: 1.699 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.7758, allocations: 5.25 kB / 0.8655 GB, free: 1.695 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.552e-05/0.7758, allocations: 4 kB / 0.8655 GB, free: 1.691 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004775/0.7763, allocations: 99.81 kB / 0.8656 GB, free: 1.594 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.471e-05/0.7763, allocations: 4 kB / 0.8656 GB, free: 1.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006146/0.7769, allocations: 79.64 kB / 0.8657 GB, free: 1.512 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.658e-05/0.777, allocations: 20 kB / 0.8657 GB, free: 1.492 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.0002856/0.7773, allocations: 203.4 kB / 0.8659 GB, free: 1.285 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.7774, allocations: 59.33 kB / 0.8659 GB, free: 1.227 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001239/0.7787, allocations: 0.5311 MB / 0.8664 GB, free: 0.6875 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.7787, allocations: 4 kB / 0.8664 GB, free: 0.6836 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.7787, allocations: 3.984 kB / 0.8665 GB, free: 0.6797 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.7787, allocations: 0 / 0.8665 GB, free: 0.6797 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00239/0.7811, allocations: 1.356 MB / 0.8678 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.7811, allocations: 7.938 kB / 0.8678 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004164/0.7816, allocations: 73.2 kB / 0.8679 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.051e-05/0.7816, allocations: 12 kB / 0.8679 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.749e-05/0.7816, allocations: 8 kB / 0.8679 GB, free: 15.13 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-05/0.7817, allocations: 11.98 kB / 0.8679 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.066e-06/0.7817, allocations: 7.984 kB / 0.8679 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001692/0.7834, allocations: 0.9287 MB / 0.8688 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000261/0.7836, allocations: 176.4 kB / 0.869 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/0.7838, allocations: 12.69 kB / 0.869 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004698/0.7842, allocations: 31.95 kB / 0.869 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/0.7844, allocations: 47.89 kB / 0.8691 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.154e-05/0.7844, allocations: 12 kB / 0.8691 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004259/0.7849, allocations: 354.8 kB / 0.8694 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.11e-07/0.7849, allocations: 3.938 kB / 0.8694 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000657/0.7855, allocations: 151.8 kB / 0.8696 GB, free: 13.33 MB / 0.6387 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.0004985/0.786, allocations: 213.4 kB / 0.8698 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00127/0.7873, allocations: 0.5764 MB / 0.8703 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.7873, allocations: 0 / 0.8703 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005985/0.7879, allocations: 265 kB / 0.8706 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001477/0.7894, allocations: 283.2 kB / 0.8708 GB, free: 12 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002013/0.7915, allocations: 1.076 MB / 0.8719 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004338/0.7919, allocations: 0.8704 MB / 0.8727 GB, free: 9.945 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000204/0.7921, allocations: 47.44 kB / 0.8728 GB, free: 9.898 MB / 0.6387 GB Notification: Performance of SimCode: time 1.933e-06/0.7921, allocations: 0 / 0.8728 GB, free: 9.898 MB / 0.6387 GB Notification: Performance of Templates: time 0.01492/0.8071, allocations: 9.078 MB / 0.8817 GB, free: 0.9023 MB / 0.6387 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)