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.0009207/0.0009211, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001138/0.001138, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.281/1.281, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7344/0.7344, allocations: 132.4 MB / 423.4 MB, free: 2.082 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002797/0.0002797, allocations: 8 kB / 0.5034 GB, free: 4.277 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3396, allocations: 81.57 MB / 0.5831 GB, free: 4.238 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1649/0.5046, allocations: 165.3 MB / 0.7445 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005142/0.5098, allocations: 4.185 MB / 0.7486 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004257/0.5102, allocations: 15.88 kB / 0.7486 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005158/0.5108, allocations: 178.7 kB / 0.7488 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001314/0.5121, allocations: 0.5751 MB / 0.7493 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002417/0.5145, allocations: 1.068 MB / 0.7504 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001395/0.5159, allocations: 1.441 MB / 0.7518 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005242/0.5165, allocations: 348 kB / 0.7521 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008869/0.5174, allocations: 0.5058 MB / 0.7526 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004874/0.5179, allocations: 394.4 kB / 0.753 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.06e-05/0.5179, allocations: 28 kB / 0.753 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001534/0.5195, allocations: 0.7832 MB / 0.7538 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000176/0.5197, allocations: 167.5 kB / 0.7539 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001511/0.5198, allocations: 133.4 kB / 0.7541 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008636/0.5207, allocations: 0.7639 MB / 0.7548 GB, free: 440 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.5207, allocations: 0 / 0.7548 GB, free: 440 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5207, allocations: 0 / 0.7548 GB, free: 440 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.527e-05/0.5207, allocations: 0 / 0.7548 GB, free: 440 kB / 0.5762 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.001471/0.5222, allocations: 0.9281 MB / 0.7557 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.5222, allocations: 12.03 kB / 0.7557 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001872/0.5241, allocations: 279 kB / 0.756 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006689/0.5248, allocations: 433.7 kB / 0.7564 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.348e-05/0.5249, allocations: 37 kB / 0.7564 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.853e-05/0.5249, allocations: 47.91 kB / 0.7565 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000978/0.5259, allocations: 0.5585 MB / 0.757 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.526, allocations: 7.938 kB / 0.757 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.196e-05/0.526, allocations: 16 kB / 0.7571 GB, free: 14 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.526, allocations: 8 kB / 0.7571 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009995/0.527, allocations: 491.5 kB / 0.7575 GB, free: 13.51 MB / 0.5919 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.002265/0.5293, allocations: 2.127 MB / 0.7596 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000924/0.5302, allocations: 437.8 kB / 0.76 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004766/0.5307, allocations: 248.7 kB / 0.7603 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006091/0.5313, allocations: 408.3 kB / 0.7607 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005853/0.5319, allocations: 306.8 kB / 0.761 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=37): time 1.894e-06/0.532, allocations: 0 / 0.761 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37): time 0.001734/0.5337, allocations: 0.7323 MB / 0.7617 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.5337, allocations: 67.14 kB / 0.7617 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005706/0.5343, allocations: 486.1 kB / 0.7622 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.401e-05/0.5344, allocations: 41.69 kB / 0.7622 GB, free: 8.434 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001755/0.5346, allocations: 256 kB / 0.7625 GB, free: 8.18 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.5347, allocations: 126.3 kB / 0.7626 GB, free: 8.055 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.873e-05/0.5347, allocations: 12 kB / 0.7626 GB, free: 8.043 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.5348, allocations: 366.7 kB / 0.763 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00049/0.5353, allocations: 212.8 kB / 0.7632 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005617/0.5359, allocations: 336 kB / 0.7635 GB, free: 7.102 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005329/0.5365, allocations: 295.2 kB / 0.7638 GB, free: 6.801 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.185e-06/0.5365, allocations: 3.938 kB / 0.7638 GB, free: 6.797 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001273/0.5377, allocations: 0.6725 MB / 0.7644 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.684e-05/0.5378, allocations: 59.41 kB / 0.7645 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.5378, allocations: 4 kB / 0.7645 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.5378, allocations: 4 kB / 0.7645 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000465/0.5383, allocations: 107.8 kB / 0.7646 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.5383, allocations: 12.23 kB / 0.7646 GB, free: 5.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005175/0.5389, allocations: 87.39 kB / 0.7647 GB, free: 5.824 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.353e-05/0.5389, allocations: 20 kB / 0.7647 GB, free: 5.805 MB / 0.5919 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 ($whenCondition2,$whenCondition1,$PRE.m_flow1.T_start,m_flow1.T_start,$PRE.m_flow1.count,m_flow1.count,$PRE.m_flow2.T_start,m_flow2.T_start,$PRE.m_flow2.count,m_flow2.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002144/0.5391, allocations: 197.6 kB / 0.7649 GB, free: 5.602 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.088e-05/0.5392, allocations: 63.27 kB / 0.765 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00122/0.5404, allocations: 0.5541 MB / 0.7655 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.5405, allocations: 12 kB / 0.7655 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.5405, allocations: 3.984 kB / 0.7655 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.5405, allocations: 0 / 0.7655 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002167/0.5427, allocations: 1.38 MB / 0.7669 GB, free: 3.477 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.5427, allocations: 4 kB / 0.7669 GB, free: 3.473 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003989/0.5431, allocations: 75.89 kB / 0.7669 GB, free: 3.398 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.187e-06/0.5431, allocations: 7.953 kB / 0.7669 GB, free: 3.391 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.673e-05/0.5431, allocations: 16 kB / 0.767 GB, free: 3.375 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.847e-06/0.5432, allocations: 16.2 kB / 0.767 GB, free: 3.359 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.5432, allocations: 4 kB / 0.767 GB, free: 3.355 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001604/0.5448, allocations: 0.9763 MB / 0.7679 GB, free: 2.316 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001988/0.545, allocations: 176.3 kB / 0.7681 GB, free: 2.125 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.169e-05/0.5451, allocations: 11.95 kB / 0.7681 GB, free: 2.113 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00045/0.5455, allocations: 47.95 kB / 0.7682 GB, free: 2.066 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.5457, allocations: 51.94 kB / 0.7682 GB, free: 2.016 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-05/0.5457, allocations: 19.98 kB / 0.7682 GB, free: 1.996 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000394/0.5461, allocations: 342.8 kB / 0.7686 GB, free: 1.664 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5461, allocations: 0 / 0.7686 GB, free: 1.664 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005761/0.5467, allocations: 151.8 kB / 0.7687 GB, free: 1.516 MB / 0.5919 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003998/0.5471, allocations: 199.8 kB / 0.7689 GB, free: 1.32 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001163/0.5483, allocations: 0.6156 MB / 0.7695 GB, free: 0.6797 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5483, allocations: 0 / 0.7695 GB, free: 0.6797 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006466/0.5489, allocations: 308 kB / 0.7698 GB, free: 392 kB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001295/0.5502, allocations: 272.3 kB / 0.77 GB, free: 128 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.552, allocations: 1.227 MB / 0.7712 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.5524, allocations: 0.859 MB / 0.7721 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005133/0.5529, allocations: 124.7 kB / 0.7722 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/0.553, allocations: 43.42 kB / 0.7722 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.5531, allocations: 7.938 kB / 0.7722 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of Templates: time 0.01529/0.5684, allocations: 9.839 MB / 0.7819 GB, free: 4.102 MB / 0.6075 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)