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.007932/0.007932, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001842/0.001842, allocations: 195.6 kB / 16.67 MB, free: 5.52 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.466/1.466, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9488/0.9488, allocations: 135.1 MB / 425.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 71.89 kB / 0.5856 GB, free: 3.246 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4984/0.4997, allocations: 80.91 MB / 0.6647 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2109/0.7107, allocations: 181.8 MB / 0.8422 GB, free: 11.12 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.006719/0.7174, allocations: 4.464 MB / 0.8465 GB, free: 6.648 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008097/0.7183, allocations: 19.88 kB / 0.8465 GB, free: 6.629 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0008121/0.7192, allocations: 246.1 kB / 0.8468 GB, free: 6.387 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002006/0.7212, allocations: 0.7931 MB / 0.8475 GB, free: 5.59 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003814/0.725, allocations: 1.556 MB / 0.8491 GB, free: 4.031 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001567/0.7266, allocations: 1.262 MB / 0.8503 GB, free: 2.766 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006465/0.7273, allocations: 455.2 kB / 0.8507 GB, free: 2.32 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001032/0.7283, allocations: 0.5838 MB / 0.8513 GB, free: 1.734 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005362/0.7288, allocations: 414.3 kB / 0.8517 GB, free: 1.328 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 7.447e-05/0.7289, allocations: 44 kB / 0.8517 GB, free: 1.285 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002737/0.7317, allocations: 1.551 MB / 0.8533 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002081/0.7319, allocations: 183.5 kB / 0.8534 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0003263/0.7322, allocations: 310.5 kB / 0.8537 GB, free: 15.25 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002008/0.7342, allocations: 1.309 MB / 0.855 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.7343, allocations: 4 kB / 0.855 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.934e-06/0.7343, allocations: 0 / 0.855 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.289e-05/0.7343, allocations: 3.984 kB / 0.855 GB, free: 13.93 MB / 0.6856 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.001886/0.7362, allocations: 1.017 MB / 0.856 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.7362, allocations: 12.03 kB / 0.856 GB, free: 12.83 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002083/0.7383, allocations: 275.1 kB / 0.8563 GB, free: 12.56 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008179/0.7392, allocations: 477.3 kB / 0.8567 GB, free: 12.06 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.22e-05/0.7392, allocations: 33 kB / 0.8568 GB, free: 12.03 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.075e-05/0.7393, allocations: 47.89 kB / 0.8568 GB, free: 11.98 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/0.7404, allocations: 0.5507 MB / 0.8573 GB, free: 11.4 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.7404, allocations: 0 / 0.8573 GB, free: 11.4 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.085e-05/0.7405, allocations: 16 kB / 0.8574 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/0.7405, allocations: 12 kB / 0.8574 GB, free: 11.37 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001076/0.7416, allocations: 463.5 kB / 0.8578 GB, free: 10.92 MB / 0.6856 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.002688/0.7443, allocations: 2.119 MB / 0.8599 GB, free: 8.668 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.7453, allocations: 414.3 kB / 0.8603 GB, free: 8.254 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004906/0.7458, allocations: 232.7 kB / 0.8605 GB, free: 8.023 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007088/0.7465, allocations: 396.3 kB / 0.8609 GB, free: 7.562 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006443/0.7472, allocations: 283.1 kB / 0.8612 GB, free: 7.273 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=37): time 2.033e-06/0.7472, allocations: 4 kB / 0.8612 GB, free: 7.27 MB / 0.6856 GB Notification: Performance of matching and sorting (n=37): time 0.001858/0.749, allocations: 0.6822 MB / 0.8618 GB, free: 6.582 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.174e-05/0.7491, allocations: 59.39 kB / 0.8619 GB, free: 6.512 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005712/0.7497, allocations: 498.1 kB / 0.8624 GB, free: 6.012 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.97e-05/0.7497, allocations: 33.7 kB / 0.8624 GB, free: 5.973 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001978/0.7499, allocations: 264 kB / 0.8626 GB, free: 5.711 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.000148/0.7501, allocations: 118.3 kB / 0.8628 GB, free: 5.594 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001569/0.7503, allocations: 98.02 kB / 0.8628 GB, free: 5.492 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.7504, allocations: 366.7 kB / 0.8632 GB, free: 5.125 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005137/0.7509, allocations: 196.8 kB / 0.8634 GB, free: 4.93 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005812/0.7515, allocations: 312.1 kB / 0.8637 GB, free: 4.59 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.7526, allocations: 0.5418 MB / 0.8642 GB, free: 3.996 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.7526, allocations: 11.88 kB / 0.8642 GB, free: 3.984 MB / 0.6856 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001345/0.7539, allocations: 0.6531 MB / 0.8649 GB, free: 3.312 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 7.344e-05/0.754, allocations: 63.41 kB / 0.8649 GB, free: 3.238 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.754, allocations: 0 / 0.8649 GB, free: 3.238 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.056e-05/0.7541, allocations: 8 kB / 0.8649 GB, free: 3.23 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004833/0.7546, allocations: 91.88 kB / 0.865 GB, free: 3.141 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.812e-05/0.7546, allocations: 15.92 kB / 0.865 GB, free: 3.125 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005762/0.7552, allocations: 83.58 kB / 0.8651 GB, free: 3.043 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.823e-05/0.7553, allocations: 20 kB / 0.8651 GB, free: 3.023 MB / 0.6856 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.0002715/0.7555, allocations: 190.8 kB / 0.8653 GB, free: 2.828 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.405e-05/0.7556, allocations: 51.42 kB / 0.8654 GB, free: 2.777 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001254/0.7569, allocations: 0.5408 MB / 0.8659 GB, free: 2.227 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.7569, allocations: 4 kB / 0.8659 GB, free: 2.223 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.7569, allocations: 0 / 0.8659 GB, free: 2.223 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.7569, allocations: 7.984 kB / 0.8659 GB, free: 2.215 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002398/0.7593, allocations: 1.348 MB / 0.8672 GB, free: 0.7656 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.7594, allocations: 4 kB / 0.8672 GB, free: 0.7617 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004137/0.7598, allocations: 79.88 kB / 0.8673 GB, free: 0.6836 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.396e-06/0.7598, allocations: 4.438 kB / 0.8673 GB, free: 0.6797 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.58e-05/0.7598, allocations: 16 kB / 0.8673 GB, free: 0.6641 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.135e-06/0.7598, allocations: 4 kB / 0.8673 GB, free: 0.6602 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.7599, allocations: 7.938 kB / 0.8673 GB, free: 0.6523 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4052/1.165, allocations: 0.9239 MB / 0.8682 GB, free: 193.9 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003731/1.166, allocations: 172.8 kB / 0.8684 GB, free: 193.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001643/1.166, allocations: 12.08 kB / 0.8684 GB, free: 193.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005718/1.166, allocations: 38.02 kB / 0.8684 GB, free: 193.8 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000178/1.166, allocations: 51.69 kB / 0.8685 GB, free: 193.8 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.704e-05/1.167, allocations: 16.55 kB / 0.8685 GB, free: 193.8 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006374/1.167, allocations: 343.4 kB / 0.8688 GB, free: 193.7 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/1.167, allocations: 0 / 0.8688 GB, free: 193.7 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.000799/1.168, allocations: 149.7 kB / 0.869 GB, free: 193.7 MB / 0.6856 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.0005699/1.169, allocations: 203.6 kB / 0.8692 GB, free: 193.6 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001521/1.17, allocations: 0.5819 MB / 0.8697 GB, free: 193.4 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/1.17, allocations: 1.469 kB / 0.8697 GB, free: 193.4 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0008344/1.171, allocations: 293.5 kB / 0.87 GB, free: 193.3 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0017/1.173, allocations: 278 kB / 0.8703 GB, free: 193.2 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002336/1.175, allocations: 1.049 MB / 0.8713 GB, free: 192.7 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004912/1.176, allocations: 0.8707 MB / 0.8722 GB, free: 191.9 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0006336/1.176, allocations: 124.6 kB / 0.8723 GB, free: 191.9 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001958/1.176, allocations: 45.44 kB / 0.8723 GB, free: 191.9 MB / 0.6856 GB Notification: Performance of SimCode: time 1.442e-06/1.176, allocations: 0 / 0.8723 GB, free: 191.9 MB / 0.6856 GB Notification: Performance of Templates: time 0.02586/1.202, allocations: 10.85 MB / 0.8829 GB, free: 187.6 MB / 0.6856 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)