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.006421/0.006421, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001495/0.001495, allocations: 201.9 kB / 16.68 MB, free: 5.969 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.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9635/0.9635, allocations: 135.1 MB / 425.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 63.91 kB / 0.5856 GB, free: 3.348 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4665/0.4679, allocations: 80.91 MB / 0.6647 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1989/0.6669, allocations: 181.8 MB / 0.8422 GB, free: 11.21 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.005813/0.6727, allocations: 4.459 MB / 0.8465 GB, free: 6.742 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005253/0.6733, allocations: 19.88 kB / 0.8465 GB, free: 6.723 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0006741/0.674, allocations: 242.1 kB / 0.8468 GB, free: 6.484 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001768/0.6758, allocations: 0.758 MB / 0.8475 GB, free: 5.723 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003491/0.6793, allocations: 1.517 MB / 0.849 GB, free: 4.203 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001483/0.6808, allocations: 1.258 MB / 0.8502 GB, free: 2.941 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006319/0.6814, allocations: 443.3 kB / 0.8506 GB, free: 2.508 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009488/0.6824, allocations: 0.576 MB / 0.8512 GB, free: 1.93 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004777/0.6829, allocations: 410.3 kB / 0.8516 GB, free: 1.527 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 7.927e-05/0.683, allocations: 48 kB / 0.8516 GB, free: 1.48 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002642/0.6856, allocations: 1.543 MB / 0.8532 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.000217/0.6859, allocations: 187.4 kB / 0.8533 GB, free: 15.75 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.000328/0.6862, allocations: 306.5 kB / 0.8536 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002282/0.6885, allocations: 1.32 MB / 0.8549 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.6885, allocations: 4 kB / 0.8549 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.412e-06/0.6885, allocations: 3.938 kB / 0.8549 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 9.939e-06/0.6885, allocations: 0 / 0.8549 GB, free: 14.12 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.001762/0.6903, allocations: 1.028 MB / 0.8559 GB, free: 13.03 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.6904, allocations: 16.02 kB / 0.8559 GB, free: 13.01 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001933/0.6923, allocations: 287.2 kB / 0.8562 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007676/0.6931, allocations: 477.8 kB / 0.8567 GB, free: 12.23 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.222e-05/0.6931, allocations: 36.92 kB / 0.8567 GB, free: 12.19 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.925e-05/0.6932, allocations: 44 kB / 0.8567 GB, free: 12.15 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.6942, allocations: 0.5507 MB / 0.8573 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.6943, allocations: 0 / 0.8573 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.207e-05/0.6943, allocations: 16 kB / 0.8573 GB, free: 11.55 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/0.6943, allocations: 16 kB / 0.8573 GB, free: 11.54 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/0.6954, allocations: 455.5 kB / 0.8578 GB, free: 11.09 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.002401/0.6978, allocations: 2.124 MB / 0.8598 GB, free: 8.836 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009701/0.6987, allocations: 410.3 kB / 0.8602 GB, free: 8.426 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004844/0.6992, allocations: 228.7 kB / 0.8604 GB, free: 8.199 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006529/0.6999, allocations: 396.3 kB / 0.8608 GB, free: 7.738 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006092/0.7005, allocations: 287.1 kB / 0.8611 GB, free: 7.445 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=37): time 2.285e-06/0.7005, allocations: 0 / 0.8611 GB, free: 7.445 MB / 0.6856 GB Notification: Performance of matching and sorting (n=37): time 0.001798/0.7023, allocations: 0.6903 MB / 0.8618 GB, free: 6.75 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.7024, allocations: 59.41 kB / 0.8618 GB, free: 6.68 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005573/0.703, allocations: 494.1 kB / 0.8623 GB, free: 6.184 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.204e-05/0.703, allocations: 33.7 kB / 0.8623 GB, free: 6.145 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001907/0.7032, allocations: 264.5 kB / 0.8626 GB, free: 5.883 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 9.753e-05/0.7033, allocations: 130.9 kB / 0.8627 GB, free: 5.754 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001625/0.7035, allocations: 94.08 kB / 0.8628 GB, free: 5.656 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.7036, allocations: 366.7 kB / 0.8631 GB, free: 5.289 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004942/0.7041, allocations: 196.8 kB / 0.8633 GB, free: 5.094 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005717/0.7047, allocations: 328 kB / 0.8636 GB, free: 4.738 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/0.7058, allocations: 0.5302 MB / 0.8642 GB, free: 4.156 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.7058, allocations: 0 / 0.8642 GB, free: 4.156 MB / 0.6856 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001348/0.7071, allocations: 0.6494 MB / 0.8648 GB, free: 3.488 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 5.968e-05/0.7072, allocations: 71.33 kB / 0.8649 GB, free: 3.406 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.7072, allocations: 4 kB / 0.8649 GB, free: 3.402 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.7072, allocations: 4 kB / 0.8649 GB, free: 3.398 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004436/0.7077, allocations: 95.88 kB / 0.865 GB, free: 3.305 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.598e-05/0.7077, allocations: 12.17 kB / 0.865 GB, free: 3.293 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004933/0.7082, allocations: 83.52 kB / 0.865 GB, free: 3.211 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.067e-05/0.7083, allocations: 20 kB / 0.8651 GB, free: 3.191 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.0002188/0.7085, allocations: 190.7 kB / 0.8652 GB, free: 2.996 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.083e-05/0.7086, allocations: 59.62 kB / 0.8653 GB, free: 2.938 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001222/0.7098, allocations: 0.5409 MB / 0.8658 GB, free: 2.387 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.7098, allocations: 4 kB / 0.8658 GB, free: 2.383 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.7098, allocations: 3.938 kB / 0.8658 GB, free: 2.379 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.7099, allocations: 3.984 kB / 0.8658 GB, free: 2.375 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002177/0.712, allocations: 1.354 MB / 0.8672 GB, free: 0.9219 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.7121, allocations: 4 kB / 0.8672 GB, free: 0.918 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003948/0.7125, allocations: 80.31 kB / 0.8672 GB, free: 0.8398 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.165e-06/0.7125, allocations: 8 kB / 0.8673 GB, free: 0.832 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.378e-05/0.7125, allocations: 8 kB / 0.8673 GB, free: 0.8242 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-06/0.7125, allocations: 11.94 kB / 0.8673 GB, free: 0.8125 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.7125, allocations: 4 kB / 0.8673 GB, free: 0.8086 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4098/1.122, allocations: 0.933 MB / 0.8682 GB, free: 193.9 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003729/1.123, allocations: 167.8 kB / 0.8683 GB, free: 193.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/1.123, allocations: 16.22 kB / 0.8684 GB, free: 193.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004884/1.123, allocations: 31.89 kB / 0.8684 GB, free: 193.8 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001702/1.124, allocations: 52.38 kB / 0.8684 GB, free: 193.8 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.695e-05/1.124, allocations: 14.22 kB / 0.8685 GB, free: 193.8 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0005206/1.124, allocations: 347.6 kB / 0.8688 GB, free: 193.8 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.01e-07/1.124, allocations: 0 / 0.8688 GB, free: 193.8 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.000691/1.125, allocations: 153.2 kB / 0.8689 GB, free: 193.8 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.0005665/1.125, allocations: 203 kB / 0.8691 GB, free: 193.7 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001401/1.127, allocations: 0.5797 MB / 0.8697 GB, free: 193.5 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/1.127, allocations: 0 / 0.8697 GB, free: 193.5 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0007709/1.128, allocations: 292.5 kB / 0.87 GB, free: 193.4 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001425/1.129, allocations: 283.5 kB / 0.8702 GB, free: 193.3 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002053/1.131, allocations: 1.061 MB / 0.8713 GB, free: 192.7 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005287/1.132, allocations: 0.8716 MB / 0.8721 GB, free: 192 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0004883/1.132, allocations: 125.5 kB / 0.8723 GB, free: 192 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001636/1.132, allocations: 50.45 kB / 0.8723 GB, free: 192 MB / 0.6856 GB Notification: Performance of SimCode: time 6.71e-07/1.132, allocations: 2.297 kB / 0.8723 GB, free: 192 MB / 0.6856 GB Notification: Performance of Templates: time 0.02138/1.154, allocations: 10.84 MB / 0.8829 GB, free: 187.8 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)