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.005245/0.005245, allocations: 96.31 kB / 15.73 MB, free: 5.996 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.001153/0.001153, allocations: 185.8 kB / 16.67 MB, free: 5.926 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7678/0.7678, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 63.91 kB / 0.5814 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1868/0.188, allocations: 80.2 MB / 0.6597 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.6672/0.8552, allocations: 181.8 MB / 0.8372 GB, free: 2.988 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.008645/0.8639, allocations: 4.447 MB / 0.8415 GB, free: 2.922 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009581/0.8649, allocations: 22.38 kB / 0.8416 GB, free: 2.922 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0009275/0.8659, allocations: 250.4 kB / 0.8418 GB, free: 2.922 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002712/0.8686, allocations: 0.7505 MB / 0.8425 GB, free: 2.891 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005795/0.8744, allocations: 1.523 MB / 0.844 GB, free: 2.836 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002905/0.8773, allocations: 1.255 MB / 0.8452 GB, free: 2.836 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009934/0.8784, allocations: 453.8 kB / 0.8457 GB, free: 2.801 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002035/0.8804, allocations: 0.5705 MB / 0.8462 GB, free: 2.801 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008887/0.8813, allocations: 406.6 kB / 0.8466 GB, free: 2.801 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001364/0.8815, allocations: 45.97 kB / 0.8467 GB, free: 2.801 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004631/0.8861, allocations: 1.548 MB / 0.8482 GB, free: 2.785 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003099/0.8864, allocations: 189.6 kB / 0.8484 GB, free: 2.785 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005287/0.887, allocations: 301.2 kB / 0.8486 GB, free: 2.785 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002915/0.8899, allocations: 1.322 MB / 0.8499 GB, free: 2.719 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.8899, allocations: 0 / 0.8499 GB, free: 2.719 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.464e-06/0.8899, allocations: 0 / 0.8499 GB, free: 2.719 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.191e-05/0.89, allocations: 1.156 kB / 0.8499 GB, free: 2.719 MB / 0.6387 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.002047/0.892, allocations: 1.039 MB / 0.851 GB, free: 2.035 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.8921, allocations: 9.938 kB / 0.851 GB, free: 2.035 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002906/0.895, allocations: 282.6 kB / 0.8512 GB, free: 2.004 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009645/0.896, allocations: 475.1 kB / 0.8517 GB, free: 1.742 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.862e-05/0.896, allocations: 36.19 kB / 0.8517 GB, free: 1.738 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.8961, allocations: 46.44 kB / 0.8518 GB, free: 1.738 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/0.8975, allocations: 0.5491 MB / 0.8523 GB, free: 1.625 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.8975, allocations: 1.469 kB / 0.8523 GB, free: 1.625 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.856e-05/0.8976, allocations: 15.41 kB / 0.8523 GB, free: 1.625 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.663e-05/0.8976, allocations: 9.844 kB / 0.8523 GB, free: 1.625 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001396/0.899, allocations: 459.6 kB / 0.8528 GB, free: 1.617 MB / 0.6387 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.002287/0.9013, allocations: 2.131 MB / 0.8548 GB, free: 16.35 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/0.9025, allocations: 405.7 kB / 0.8552 GB, free: 16.33 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006112/0.9031, allocations: 228.6 kB / 0.8555 GB, free: 16.32 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008117/0.9039, allocations: 396 kB / 0.8558 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007565/0.9047, allocations: 293.1 kB / 0.8561 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=37): time 3.887e-06/0.9047, allocations: 0 / 0.8561 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of matching and sorting (n=37): time 0.002306/0.907, allocations: 0.6947 MB / 0.8568 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.53e-05/0.9071, allocations: 58.75 kB / 0.8568 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006988/0.9078, allocations: 498.2 kB / 0.8573 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.631e-05/0.9079, allocations: 35.75 kB / 0.8574 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002197/0.9081, allocations: 266.5 kB / 0.8576 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.9082, allocations: 131.5 kB / 0.8577 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000178/0.9084, allocations: 89.94 kB / 0.8578 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.9086, allocations: 361.5 kB / 0.8582 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006611/0.9093, allocations: 195.5 kB / 0.8583 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007876/0.9101, allocations: 323.3 kB / 0.8587 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001487/0.9116, allocations: 0.5391 MB / 0.8592 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/0.9116, allocations: 3.281 kB / 0.8592 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001978/0.9136, allocations: 0.6558 MB / 0.8598 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 9.098e-05/0.9137, allocations: 63.5 kB / 0.8599 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.9137, allocations: 10.31 kB / 0.8599 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.941e-05/0.9138, allocations: 6.609 kB / 0.8599 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006883/0.9145, allocations: 96.72 kB / 0.86 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.627e-05/0.9145, allocations: 5.406 kB / 0.86 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008287/0.9153, allocations: 78.34 kB / 0.8601 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-05/0.9154, allocations: 21 kB / 0.8601 GB, free: 14.56 MB / 0.6544 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.0003343/0.9158, allocations: 194.3 kB / 0.8603 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.9159, allocations: 62.72 kB / 0.8603 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001687/0.9176, allocations: 0.5347 MB / 0.8609 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.918e-06/0.9176, allocations: 6.594 kB / 0.8609 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.9176, allocations: 1.094 kB / 0.8609 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.9177, allocations: 3 kB / 0.8609 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003032/0.9207, allocations: 1.35 MB / 0.8622 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.9207, allocations: 6.125 kB / 0.8622 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004613/0.9212, allocations: 74.5 kB / 0.8623 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.007e-05/0.9212, allocations: 6.75 kB / 0.8623 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.276e-05/0.9213, allocations: 16.5 kB / 0.8623 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.686e-06/0.9213, allocations: 8.562 kB / 0.8623 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.9213, allocations: 5.844 kB / 0.8623 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002373/0.9237, allocations: 0.9358 MB / 0.8632 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003132/0.924, allocations: 171.4 kB / 0.8634 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/0.9242, allocations: 21.44 kB / 0.8634 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006182/0.9248, allocations: 36.28 kB / 0.8634 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001646/0.925, allocations: 44.7 kB / 0.8635 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.6e-05/0.925, allocations: 19.41 kB / 0.8635 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005049/0.9255, allocations: 347.6 kB / 0.8638 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9255, allocations: 0 / 0.8638 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007456/0.9263, allocations: 152.9 kB / 0.864 GB, free: 13.4 MB / 0.6544 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.0004534/0.9268, allocations: 200.7 kB / 0.8642 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00107/0.9278, allocations: 0.582 MB / 0.8647 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.9278, allocations: 1 kB / 0.8647 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005899/0.9284, allocations: 286.2 kB / 0.865 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001283/0.9297, allocations: 302.4 kB / 0.8653 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/0.9316, allocations: 1.056 MB / 0.8663 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000473/0.9321, allocations: 0.8636 MB / 0.8672 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005065/0.9326, allocations: 126.6 kB / 0.8673 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/0.9328, allocations: 46.03 kB / 0.8673 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of SimCode: time 8.81e-07/0.9328, allocations: 1.094 kB / 0.8673 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of Templates: time 0.01813/0.9509, allocations: 10.85 MB / 0.8779 GB, free: 10.17 MB / 0.6544 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)