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.005418/0.005418, allocations: 101.6 kB / 15.73 MB, free: 6.035 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.001325/0.001325, allocations: 186.1 kB / 16.67 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9465/0.9465, allocations: 135.1 MB / 425.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 59.91 kB / 0.5856 GB, free: 3.328 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4403/0.4416, allocations: 80.91 MB / 0.6647 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1976/0.6392, allocations: 181.8 MB / 0.8422 GB, free: 11.18 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.006461/0.6457, allocations: 4.455 MB / 0.8465 GB, free: 6.719 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009249/0.6467, allocations: 23.88 kB / 0.8465 GB, free: 6.695 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0009122/0.6476, allocations: 246.1 kB / 0.8468 GB, free: 6.453 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002255/0.6499, allocations: 0.797 MB / 0.8475 GB, free: 5.652 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003872/0.6538, allocations: 1.55 MB / 0.8491 GB, free: 4.102 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001485/0.6553, allocations: 1.27 MB / 0.8503 GB, free: 2.828 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005884/0.6559, allocations: 439.3 kB / 0.8507 GB, free: 2.398 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001025/0.6569, allocations: 0.5878 MB / 0.8513 GB, free: 1.809 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004684/0.6574, allocations: 418.2 kB / 0.8517 GB, free: 1.398 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 6.733e-05/0.6575, allocations: 44 kB / 0.8517 GB, free: 1.355 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002659/0.6601, allocations: 1.547 MB / 0.8532 GB, free: 15.8 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002023/0.6603, allocations: 191.4 kB / 0.8534 GB, free: 15.62 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0003237/0.6607, allocations: 298.5 kB / 0.8537 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002178/0.6629, allocations: 1.325 MB / 0.855 GB, free: 14 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.6629, allocations: 0 / 0.855 GB, free: 14 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.312e-06/0.6629, allocations: 3.938 kB / 0.855 GB, free: 13.99 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 9.468e-06/0.6629, allocations: 4 kB / 0.855 GB, free: 13.99 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.001632/0.6646, allocations: 1.006 MB / 0.856 GB, free: 12.92 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.6646, allocations: 12.03 kB / 0.856 GB, free: 12.91 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001892/0.6665, allocations: 283 kB / 0.8563 GB, free: 12.63 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007651/0.6673, allocations: 477.3 kB / 0.8567 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.091e-05/0.6673, allocations: 32.98 kB / 0.8568 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.764e-05/0.6674, allocations: 51.91 kB / 0.8568 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009616/0.6684, allocations: 0.5507 MB / 0.8574 GB, free: 11.46 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.6684, allocations: 3.938 kB / 0.8574 GB, free: 11.46 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.189e-05/0.6685, allocations: 16 kB / 0.8574 GB, free: 11.44 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.506e-05/0.6685, allocations: 8 kB / 0.8574 GB, free: 11.43 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009633/0.6695, allocations: 463.5 kB / 0.8578 GB, free: 10.98 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.002427/0.6719, allocations: 2.119 MB / 0.8599 GB, free: 8.73 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009445/0.6728, allocations: 406.2 kB / 0.8603 GB, free: 8.324 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004517/0.6733, allocations: 232.7 kB / 0.8605 GB, free: 8.094 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006569/0.674, allocations: 400.3 kB / 0.8609 GB, free: 7.629 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005673/0.6746, allocations: 291.1 kB / 0.8612 GB, free: 7.332 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=37): time 2.385e-06/0.6746, allocations: 0 / 0.8612 GB, free: 7.332 MB / 0.6856 GB Notification: Performance of matching and sorting (n=37): time 0.001724/0.6763, allocations: 0.6861 MB / 0.8618 GB, free: 6.641 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.089e-05/0.6764, allocations: 55.41 kB / 0.8619 GB, free: 6.574 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005935/0.677, allocations: 494.1 kB / 0.8624 GB, free: 6.078 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.393e-05/0.677, allocations: 37.7 kB / 0.8624 GB, free: 6.035 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001929/0.6772, allocations: 260 kB / 0.8626 GB, free: 5.777 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 9.824e-05/0.6773, allocations: 118.3 kB / 0.8628 GB, free: 5.66 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001562/0.6775, allocations: 98.02 kB / 0.8628 GB, free: 5.559 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.6776, allocations: 366.7 kB / 0.8632 GB, free: 5.191 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004411/0.6781, allocations: 196.8 kB / 0.8634 GB, free: 4.996 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000532/0.6786, allocations: 328 kB / 0.8637 GB, free: 4.641 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009526/0.6796, allocations: 0.5379 MB / 0.8642 GB, free: 4.051 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.6796, allocations: 0 / 0.8642 GB, free: 4.051 MB / 0.6856 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001991/0.6816, allocations: 0.6492 MB / 0.8649 GB, free: 3.383 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 7.449e-05/0.6817, allocations: 63.39 kB / 0.8649 GB, free: 3.309 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.6817, allocations: 4 kB / 0.8649 GB, free: 3.305 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.464e-05/0.6818, allocations: 4 kB / 0.8649 GB, free: 3.301 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000798/0.6826, allocations: 99.81 kB / 0.865 GB, free: 3.203 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.535e-05/0.6826, allocations: 4 kB / 0.865 GB, free: 3.199 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008078/0.6834, allocations: 87.58 kB / 0.8651 GB, free: 3.113 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.637e-05/0.6835, allocations: 20 kB / 0.8651 GB, free: 3.094 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.0003347/0.6839, allocations: 193.6 kB / 0.8653 GB, free: 2.895 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.684, allocations: 51.44 kB / 0.8654 GB, free: 2.844 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001732/0.6857, allocations: 0.5448 MB / 0.8659 GB, free: 2.289 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.385e-06/0.6858, allocations: 4 kB / 0.8659 GB, free: 2.285 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.6858, allocations: 0 / 0.8659 GB, free: 2.285 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.6858, allocations: 3.984 kB / 0.8659 GB, free: 2.281 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002944/0.6887, allocations: 1.347 MB / 0.8672 GB, free: 0.8359 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.248e-06/0.6888, allocations: 4 kB / 0.8672 GB, free: 0.832 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005444/0.6893, allocations: 76.31 kB / 0.8673 GB, free: 0.7578 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-05/0.6893, allocations: 12 kB / 0.8673 GB, free: 0.7461 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.53e-05/0.6894, allocations: 8 kB / 0.8673 GB, free: 0.7383 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.239e-05/0.6894, allocations: 11.94 kB / 0.8673 GB, free: 0.7266 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.892e-06/0.6894, allocations: 4 kB / 0.8673 GB, free: 0.7227 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4307/1.12, allocations: 0.9302 MB / 0.8682 GB, free: 194 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003634/1.121, allocations: 169.5 kB / 0.8684 GB, free: 193.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001404/1.121, allocations: 17.5 kB / 0.8684 GB, free: 193.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005552/1.121, allocations: 32.69 kB / 0.8684 GB, free: 193.9 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/1.121, allocations: 51.52 kB / 0.8685 GB, free: 193.9 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.432e-05/1.121, allocations: 12.92 kB / 0.8685 GB, free: 193.9 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0005479/1.122, allocations: 350.7 kB / 0.8688 GB, free: 193.8 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.71e-07/1.122, allocations: 0 / 0.8688 GB, free: 193.8 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0007204/1.123, allocations: 147.9 kB / 0.869 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.0004708/1.123, allocations: 195 kB / 0.8692 GB, free: 193.7 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00137/1.125, allocations: 0.5862 MB / 0.8697 GB, free: 193.4 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/1.125, allocations: 4.312 kB / 0.8697 GB, free: 193.4 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0007227/1.125, allocations: 289.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.001382/1.127, allocations: 279.6 kB / 0.8703 GB, free: 193.3 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00201/1.129, allocations: 1.048 MB / 0.8713 GB, free: 192.7 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00041/1.129, allocations: 0.871 MB / 0.8722 GB, free: 192 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0005199/1.13, allocations: 126.4 kB / 0.8723 GB, free: 192 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/1.13, allocations: 49.42 kB / 0.8723 GB, free: 192 MB / 0.6856 GB Notification: Performance of SimCode: time 3.1e-07/1.13, allocations: 0 / 0.8723 GB, free: 192 MB / 0.6856 GB Notification: Performance of Templates: time 0.02315/1.153, allocations: 10.84 MB / 0.8829 GB, free: 187.7 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)