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.0009499/0.00095, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 184.9 kB / 16.92 MB, free: 6.684 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.325/1.325, allocations: 223.3 MB / 241 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9844/0.9844, allocations: 135.3 MB / 427.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003175/0.0003175, allocations: 13.03 kB / 0.5082 GB, free: 4.785 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1547, allocations: 82.31 MB / 0.5886 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.4726/0.6273, allocations: 177.2 MB / 0.7616 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006031/0.6334, allocations: 4.425 MB / 0.766 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007526/0.6342, allocations: 15.88 kB / 0.766 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007332/0.635, allocations: 190.7 kB / 0.7661 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002029/0.637, allocations: 0.7156 MB / 0.7668 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003764/0.6408, allocations: 1.406 MB / 0.7682 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002049/0.6428, allocations: 1.681 MB / 0.7699 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007441/0.6436, allocations: 378.8 kB / 0.7702 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001202/0.6448, allocations: 0.5096 MB / 0.7707 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006558/0.6455, allocations: 422.2 kB / 0.7711 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001459/0.6456, allocations: 24 kB / 0.7711 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003344/0.649, allocations: 1.804 MB / 0.7729 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002708/0.6493, allocations: 167.5 kB / 0.7731 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004784/0.6498, allocations: 304.2 kB / 0.7734 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001522/0.6513, allocations: 0.8964 MB / 0.7742 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.6513, allocations: 0 / 0.7742 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.004e-06/0.6513, allocations: 4 kB / 0.7742 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.131e-05/0.6514, allocations: 0 / 0.7742 GB, free: 14.39 MB / 0.5919 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.001825/0.6532, allocations: 0.9354 MB / 0.7751 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.6532, allocations: 11.97 kB / 0.7752 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002032/0.6553, allocations: 286.9 kB / 0.7754 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007512/0.656, allocations: 445.5 kB / 0.7759 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/0.6561, allocations: 29 kB / 0.7759 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.678e-05/0.6562, allocations: 44 kB / 0.7759 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/0.6573, allocations: 0.5703 MB / 0.7765 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.6573, allocations: 0 / 0.7765 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.805e-05/0.6573, allocations: 19.94 kB / 0.7765 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.6574, allocations: 8 kB / 0.7765 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001116/0.6585, allocations: 496 kB / 0.777 GB, free: 11.45 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.002501/0.661, allocations: 2.119 MB / 0.7791 GB, free: 9.191 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/0.6621, allocations: 450.4 kB / 0.7795 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005515/0.6627, allocations: 241.6 kB / 0.7797 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007663/0.6635, allocations: 408.3 kB / 0.7801 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000666/0.6642, allocations: 313.5 kB / 0.7804 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=37): time 2.465e-06/0.6642, allocations: 0 / 0.7804 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37): time 0.001927/0.6661, allocations: 0.7321 MB / 0.7811 GB, free: 6.977 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.6662, allocations: 63.41 kB / 0.7812 GB, free: 6.902 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005886/0.6668, allocations: 494.1 kB / 0.7816 GB, free: 6.406 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.383e-05/0.6668, allocations: 33.7 kB / 0.7817 GB, free: 6.367 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002062/0.667, allocations: 260.1 kB / 0.7819 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001587/0.6672, allocations: 126.2 kB / 0.7821 GB, free: 5.984 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.765e-05/0.6673, allocations: 45.7 kB / 0.7821 GB, free: 5.934 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.6674, allocations: 358.8 kB / 0.7824 GB, free: 5.574 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000514/0.668, allocations: 220.8 kB / 0.7826 GB, free: 5.359 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005845/0.6685, allocations: 340.7 kB / 0.783 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/0.6697, allocations: 0.5721 MB / 0.7835 GB, free: 4.371 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.6697, allocations: 4 kB / 0.7835 GB, free: 4.367 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001379/0.6711, allocations: 0.6806 MB / 0.7842 GB, free: 3.668 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.425e-05/0.6711, allocations: 63.41 kB / 0.7843 GB, free: 3.594 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.6711, allocations: 4 kB / 0.7843 GB, free: 3.59 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.6712, allocations: 4 kB / 0.7843 GB, free: 3.586 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004766/0.6716, allocations: 107.8 kB / 0.7844 GB, free: 3.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.428e-05/0.6717, allocations: 4.25 kB / 0.7844 GB, free: 3.477 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007444/0.6724, allocations: 95.31 kB / 0.7845 GB, free: 3.387 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.368e-05/0.6725, allocations: 24 kB / 0.7845 GB, free: 3.363 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 (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.0003942/0.6729, allocations: 201.6 kB / 0.7847 GB, free: 3.156 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/0.6731, allocations: 59.28 kB / 0.7847 GB, free: 3.098 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002009/0.6751, allocations: 0.5614 MB / 0.7853 GB, free: 2.523 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/0.6751, allocations: 8 kB / 0.7853 GB, free: 2.516 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.6752, allocations: 0 / 0.7853 GB, free: 2.516 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.445e-05/0.6752, allocations: 7.969 kB / 0.7853 GB, free: 2.508 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003679/0.6789, allocations: 1.384 MB / 0.7867 GB, free: 1.027 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/0.6789, allocations: 4 kB / 0.7867 GB, free: 1.023 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000643/0.6795, allocations: 83.88 kB / 0.7867 GB, free: 0.9414 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-05/0.6796, allocations: 4 kB / 0.7867 GB, free: 0.9375 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.385e-05/0.6796, allocations: 12 kB / 0.7867 GB, free: 0.9258 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-05/0.6797, allocations: 8.188 kB / 0.7868 GB, free: 0.918 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.563e-06/0.6797, allocations: 8 kB / 0.7868 GB, free: 0.9102 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002824/0.6825, allocations: 0.9924 MB / 0.7877 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003945/0.6829, allocations: 172.3 kB / 0.7879 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001559/0.6831, allocations: 11.98 kB / 0.7879 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008188/0.6839, allocations: 47.95 kB / 0.788 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001941/0.6841, allocations: 59.88 kB / 0.788 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-05/0.6842, allocations: 14 kB / 0.788 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007079/0.6849, allocations: 346.8 kB / 0.7884 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6849, allocations: 0 / 0.7884 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009881/0.6859, allocations: 151.8 kB / 0.7885 GB, free: 15.05 MB / 0.6075 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.0006246/0.6866, allocations: 202.2 kB / 0.7887 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001957/0.6885, allocations: 0.6156 MB / 0.7893 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.748e-06/0.6886, allocations: 3.938 kB / 0.7893 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009816/0.6896, allocations: 280.7 kB / 0.7896 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002482/0.6921, allocations: 269.4 kB / 0.7898 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003166/0.6952, allocations: 1.292 MB / 0.7911 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006394/0.6959, allocations: 0.8629 MB / 0.7919 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002862/0.6962, allocations: 47.44 kB / 0.792 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of SimCode: time 1.463e-06/0.6962, allocations: 0 / 0.792 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of Templates: time 0.02067/0.7169, allocations: 8.942 MB / 0.8007 GB, free: 2.566 MB / 0.6075 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)