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.00904/0.00904, 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.001586/0.001586, allocations: 199.3 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.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7913/0.7913, allocations: 132.2 MB / 422.7 MB, free: 1.598 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 67.41 kB / 0.5814 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1718, allocations: 80.2 MB / 0.6597 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.6262/0.7981, allocations: 181.8 MB / 0.8372 GB, free: 3.035 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.006076/0.8042, allocations: 4.451 MB / 0.8415 GB, free: 2.969 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001101/0.8054, allocations: 19.34 kB / 0.8416 GB, free: 2.969 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0009514/0.8063, allocations: 247.4 kB / 0.8418 GB, free: 2.969 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002169/0.8086, allocations: 0.7964 MB / 0.8426 GB, free: 2.938 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004087/0.8127, allocations: 1.557 MB / 0.8441 GB, free: 2.883 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001653/0.8143, allocations: 1.263 MB / 0.8453 GB, free: 2.883 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006441/0.815, allocations: 441.8 kB / 0.8457 GB, free: 2.848 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001143/0.8161, allocations: 0.5903 MB / 0.8463 GB, free: 2.848 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005024/0.8167, allocations: 411.9 kB / 0.8467 GB, free: 2.844 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 8.081e-05/0.8167, allocations: 45.81 kB / 0.8468 GB, free: 2.844 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002828/0.8196, allocations: 1.552 MB / 0.8483 GB, free: 2.828 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001952/0.8198, allocations: 190.6 kB / 0.8485 GB, free: 2.828 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0003404/0.8201, allocations: 302.3 kB / 0.8487 GB, free: 2.828 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002325/0.8225, allocations: 1.314 MB / 0.85 GB, free: 2.762 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.8225, allocations: 3.906 kB / 0.85 GB, free: 2.762 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.472e-06/0.8225, allocations: 0 / 0.85 GB, free: 2.762 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.102e-05/0.8225, allocations: 0.8438 kB / 0.85 GB, free: 2.762 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.001578/0.8241, allocations: 1.024 MB / 0.851 GB, free: 2.098 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.8241, allocations: 9.812 kB / 0.851 GB, free: 2.098 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001999/0.8262, allocations: 281.3 kB / 0.8513 GB, free: 2.066 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007436/0.8269, allocations: 470.7 kB / 0.8518 GB, free: 1.809 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.86e-05/0.827, allocations: 31.41 kB / 0.8518 GB, free: 1.809 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.139e-05/0.8271, allocations: 47.69 kB / 0.8518 GB, free: 1.805 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009286/0.828, allocations: 0.5499 MB / 0.8524 GB, free: 1.691 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.828, allocations: 2.578 kB / 0.8524 GB, free: 1.691 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.384e-05/0.8281, allocations: 19.28 kB / 0.8524 GB, free: 1.691 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.8281, allocations: 8.5 kB / 0.8524 GB, free: 1.691 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009691/0.8291, allocations: 459 kB / 0.8528 GB, free: 1.684 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.00262/0.8317, allocations: 2.121 MB / 0.8549 GB, free: 16.43 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008959/0.8326, allocations: 406.8 kB / 0.8553 GB, free: 16.4 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004507/0.8331, allocations: 228.8 kB / 0.8555 GB, free: 16.39 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006958/0.8338, allocations: 397.7 kB / 0.8559 GB, free: 16.02 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005569/0.8343, allocations: 295.3 kB / 0.8562 GB, free: 15.97 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=37): time 1.903e-06/0.8343, allocations: 0 / 0.8562 GB, free: 15.97 MB / 0.6544 GB Notification: Performance of matching and sorting (n=37): time 0.001699/0.836, allocations: 0.6912 MB / 0.8569 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.8361, allocations: 56.75 kB / 0.8569 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005824/0.8367, allocations: 498 kB / 0.8574 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.739e-05/0.8368, allocations: 37.83 kB / 0.8574 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002201/0.837, allocations: 258.7 kB / 0.8577 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.8371, allocations: 119.4 kB / 0.8578 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001772/0.8373, allocations: 95.86 kB / 0.8579 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.8375, allocations: 362.8 kB / 0.8582 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005298/0.838, allocations: 200.3 kB / 0.8584 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006683/0.8387, allocations: 317.3 kB / 0.8587 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/0.8398, allocations: 0.5428 MB / 0.8592 GB, free: 14.87 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.8398, allocations: 0 / 0.8592 GB, free: 14.87 MB / 0.6544 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001364/0.8412, allocations: 0.6488 MB / 0.8599 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.987e-05/0.8412, allocations: 63.94 kB / 0.8599 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.8413, allocations: 4.031 kB / 0.8599 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/0.8413, allocations: 8.172 kB / 0.8599 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004326/0.8417, allocations: 97.55 kB / 0.86 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.442e-05/0.8417, allocations: 9.109 kB / 0.86 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005772/0.8423, allocations: 79.62 kB / 0.8601 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.189e-05/0.8424, allocations: 20.81 kB / 0.8601 GB, free: 14.64 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.0002754/0.8427, allocations: 196.5 kB / 0.8603 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.172e-05/0.8428, allocations: 58.44 kB / 0.8604 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001155/0.8439, allocations: 0.5286 MB / 0.8609 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.844, allocations: 6.25 kB / 0.8609 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.844, allocations: 1 kB / 0.8609 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.844, allocations: 0.9688 kB / 0.8609 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002216/0.8462, allocations: 1.355 MB / 0.8622 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.8462, allocations: 9.125 kB / 0.8622 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003832/0.8466, allocations: 70.59 kB / 0.8623 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/0.8466, allocations: 5.25 kB / 0.8623 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.942e-05/0.8467, allocations: 19.98 kB / 0.8623 GB, free: 14 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/0.8467, allocations: 11.91 kB / 0.8623 GB, free: 14 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.8467, allocations: 3.969 kB / 0.8623 GB, free: 14 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001522/0.8482, allocations: 0.9311 MB / 0.8633 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002633/0.8485, allocations: 170.5 kB / 0.8634 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.013e-05/0.8486, allocations: 17.72 kB / 0.8634 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004653/0.8491, allocations: 36.75 kB / 0.8635 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/0.8492, allocations: 44.19 kB / 0.8635 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.023e-05/0.8493, allocations: 20.88 kB / 0.8635 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004315/0.8497, allocations: 349.6 kB / 0.8639 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8497, allocations: 0.9062 kB / 0.8639 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006427/0.8504, allocations: 153.6 kB / 0.864 GB, free: 13.49 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.0005023/0.8509, allocations: 193.1 kB / 0.8642 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001207/0.8521, allocations: 0.5805 MB / 0.8648 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.8521, allocations: 0.8125 kB / 0.8648 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006308/0.8528, allocations: 296.8 kB / 0.8651 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/0.854, allocations: 294.4 kB / 0.8653 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001889/0.8559, allocations: 1.044 MB / 0.8664 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005346/0.8565, allocations: 0.8635 MB / 0.8672 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005151/0.857, allocations: 126.5 kB / 0.8673 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001586/0.8572, allocations: 44.59 kB / 0.8674 GB, free: 12 MB / 0.6544 GB Notification: Performance of SimCode: time 8.12e-07/0.8572, allocations: 4 kB / 0.8674 GB, free: 12 MB / 0.6544 GB Notification: Performance of Templates: time 0.02025/0.8774, allocations: 10.84 MB / 0.8779 GB, free: 10.25 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)