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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001655/0.001655, allocations: 183.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7143/0.7143, allocations: 133.3 MB / 150.1 MB, free: 11.18 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.814/1.814, allocations: 222.9 MB / 404.7 MB, free: 6.105 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 99.67 kB / 485.9 MB, free: 7.254 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00157/0.00157, allocations: 51.92 kB / 0.5636 GB, free: 69.95 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1509, allocations: 80.43 MB / 0.6421 GB, free: 5.453 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.533/0.6839, allocations: 179.5 MB / 0.8175 GB, free: 13.69 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.006119/0.69, allocations: 4.486 MB / 0.8218 GB, free: 9.191 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006351/0.6907, allocations: 19.88 kB / 0.8219 GB, free: 9.172 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0006812/0.6914, allocations: 190.7 kB / 0.822 GB, free: 8.984 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001944/0.6934, allocations: 0.7157 MB / 0.8227 GB, free: 8.266 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003597/0.697, allocations: 1.404 MB / 0.8241 GB, free: 6.863 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001823/0.6988, allocations: 1.695 MB / 0.8258 GB, free: 5.16 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005527/0.6994, allocations: 378.2 kB / 0.8261 GB, free: 4.789 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009216/0.7003, allocations: 0.5331 MB / 0.8266 GB, free: 4.254 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004628/0.7008, allocations: 418.2 kB / 0.827 GB, free: 3.844 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 6.698e-05/0.7009, allocations: 32 kB / 0.8271 GB, free: 3.812 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003424/0.7043, allocations: 1.812 MB / 0.8288 GB, free: 1.996 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002205/0.7045, allocations: 171.5 kB / 0.829 GB, free: 1.828 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003358/0.7049, allocations: 286.5 kB / 0.8293 GB, free: 1.547 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.002341/0.7072, allocations: 1.387 MB / 0.8306 GB, free: 160 kB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.7072, allocations: 0 / 0.8306 GB, free: 160 kB / 0.5573 GB Notification: Performance of FrontEnd: time 1.132e-06/0.7073, allocations: 0 / 0.8306 GB, free: 160 kB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.495e-06/0.7073, allocations: 0 / 0.8306 GB, free: 160 kB / 0.5573 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.001855/0.7091, allocations: 1.021 MB / 0.8316 GB, free: 15.07 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.7092, allocations: 8.031 kB / 0.8316 GB, free: 15.07 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001927/0.7111, allocations: 286.9 kB / 0.8319 GB, free: 14.79 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007998/0.7119, allocations: 443 kB / 0.8323 GB, free: 14.31 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.924e-05/0.712, allocations: 33 kB / 0.8324 GB, free: 14.28 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.627e-05/0.7121, allocations: 40 kB / 0.8324 GB, free: 14.24 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009914/0.7131, allocations: 0.5468 MB / 0.8329 GB, free: 13.66 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.7131, allocations: 8 kB / 0.8329 GB, free: 13.66 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.695e-05/0.7132, allocations: 19.94 kB / 0.833 GB, free: 13.64 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.7132, allocations: 8 kB / 0.833 GB, free: 13.63 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001021/0.7142, allocations: 459.5 kB / 0.8334 GB, free: 13.18 MB / 0.573 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.002631/0.7168, allocations: 2.127 MB / 0.8355 GB, free: 10.92 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009637/0.7178, allocations: 415.1 kB / 0.8359 GB, free: 10.5 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000461/0.7183, allocations: 224.7 kB / 0.8361 GB, free: 10.28 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007088/0.719, allocations: 400.3 kB / 0.8365 GB, free: 9.816 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006177/0.7196, allocations: 295.2 kB / 0.8368 GB, free: 9.516 MB / 0.573 GB Notification: Performance of pre-optimization done (n=37): time 3.527e-06/0.7197, allocations: 0 / 0.8368 GB, free: 9.516 MB / 0.573 GB Notification: Performance of matching and sorting (n=37): time 0.001718/0.7214, allocations: 0.6875 MB / 0.8374 GB, free: 8.82 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.836e-05/0.7214, allocations: 59.41 kB / 0.8375 GB, free: 8.75 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000554/0.722, allocations: 498 kB / 0.838 GB, free: 8.25 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 5.29e-05/0.7221, allocations: 41.69 kB / 0.838 GB, free: 8.203 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001887/0.7223, allocations: 252.1 kB / 0.8382 GB, free: 7.953 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.7224, allocations: 126.2 kB / 0.8384 GB, free: 7.828 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001636/0.7225, allocations: 90.12 kB / 0.8385 GB, free: 7.734 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001915/0.7227, allocations: 366.8 kB / 0.8388 GB, free: 7.367 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004784/0.7232, allocations: 196.8 kB / 0.839 GB, free: 7.176 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005675/0.7238, allocations: 321.2 kB / 0.8393 GB, free: 6.824 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009814/0.7248, allocations: 0.5339 MB / 0.8398 GB, free: 6.238 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.7248, allocations: 4 kB / 0.8398 GB, free: 6.234 MB / 0.573 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001223/0.726, allocations: 0.6638 MB / 0.8405 GB, free: 5.551 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 5.791e-05/0.7261, allocations: 59.41 kB / 0.8405 GB, free: 5.48 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.7261, allocations: 4 kB / 0.8405 GB, free: 5.477 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.7261, allocations: 4 kB / 0.8405 GB, free: 5.473 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004317/0.7266, allocations: 95.88 kB / 0.8406 GB, free: 5.379 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.434e-05/0.7266, allocations: 14.38 kB / 0.8406 GB, free: 5.367 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005916/0.7272, allocations: 83.47 kB / 0.8407 GB, free: 5.285 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-05/0.7273, allocations: 20 kB / 0.8407 GB, free: 5.266 MB / 0.573 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.0002237/0.7275, allocations: 190.9 kB / 0.8409 GB, free: 5.07 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.652e-05/0.7276, allocations: 59.34 kB / 0.841 GB, free: 5.012 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0012/0.7288, allocations: 0.5379 MB / 0.8415 GB, free: 4.461 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.7288, allocations: 7.938 kB / 0.8415 GB, free: 4.453 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.7288, allocations: 0 / 0.8415 GB, free: 4.453 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.912e-06/0.7288, allocations: 7.984 kB / 0.8415 GB, free: 4.445 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002274/0.7311, allocations: 1.346 MB / 0.8428 GB, free: 3 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.7311, allocations: 4 kB / 0.8428 GB, free: 2.996 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003917/0.7315, allocations: 75.88 kB / 0.8429 GB, free: 2.922 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.797e-06/0.7315, allocations: 8 kB / 0.8429 GB, free: 2.914 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.991e-05/0.7316, allocations: 8 kB / 0.8429 GB, free: 2.906 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.967e-06/0.7316, allocations: 11.94 kB / 0.8429 GB, free: 2.895 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/0.7316, allocations: 7.984 kB / 0.8429 GB, free: 2.887 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0114/0.743, allocations: 4.523 MB / 0.8474 GB, free: 14.14 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002512/0.7433, allocations: 176.3 kB / 0.8475 GB, free: 13.95 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.28e-05/0.7434, allocations: 15.94 kB / 0.8475 GB, free: 13.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004512/0.7438, allocations: 39.95 kB / 0.8476 GB, free: 13.89 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/0.744, allocations: 51.94 kB / 0.8476 GB, free: 13.84 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.372e-05/0.744, allocations: 19.94 kB / 0.8477 GB, free: 13.82 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0004208/0.7445, allocations: 342.8 kB / 0.848 GB, free: 13.49 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7445, allocations: 0 / 0.848 GB, free: 13.49 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0007824/0.7453, allocations: 219.8 kB / 0.8482 GB, free: 13.28 MB / 0.5886 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.0005062/0.7458, allocations: 206.1 kB / 0.8484 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001395/0.7472, allocations: 0.5728 MB / 0.8489 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/0.7472, allocations: 4.188 kB / 0.8489 GB, free: 12.47 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0007607/0.748, allocations: 287.7 kB / 0.8492 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001625/0.7496, allocations: 270.5 kB / 0.8495 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00271/0.7523, allocations: 1.464 MB / 0.8509 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004893/0.7528, allocations: 0.8746 MB / 0.8518 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0005864/0.7534, allocations: 132.7 kB / 0.8519 GB, free: 9.348 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/0.7536, allocations: 39.44 kB / 0.8519 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of SimCode: time 3.01e-07/0.7536, allocations: 0 / 0.8519 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of Templates: time 0.0197/0.7733, allocations: 10.81 MB / 0.8625 GB, free: 14.63 MB / 0.6042 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)