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.001483/0.001484, allocations: 101.7 kB / 16.35 MB, free: 5.875 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.001238/0.001238, allocations: 196 kB / 17.3 MB, free: 5.516 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.37/1.37, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8058/0.8058, allocations: 132.2 MB / 423.3 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 63.89 kB / 0.5032 GB, free: 10.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4269/0.4282, allocations: 80.19 MB / 0.5815 GB, free: 27.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5151/0.9433, allocations: 181.8 MB / 0.759 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005573/0.949, allocations: 4.459 MB / 0.7633 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000618/0.9496, allocations: 20.75 kB / 0.7634 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006408/0.9503, allocations: 245.8 kB / 0.7636 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001864/0.9522, allocations: 0.7547 MB / 0.7643 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003755/0.956, allocations: 1.52 MB / 0.7658 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002647/0.9586, allocations: 1.258 MB / 0.767 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001001/0.9596, allocations: 446.3 kB / 0.7675 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001243/0.9609, allocations: 0.5711 MB / 0.768 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000462/0.9614, allocations: 416 kB / 0.7684 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.524e-05/0.9615, allocations: 46.19 kB / 0.7685 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003148/0.9646, allocations: 1.538 MB / 0.77 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002517/0.9649, allocations: 189.7 kB / 0.7702 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004424/0.9653, allocations: 307.3 kB / 0.7704 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00235/0.9677, allocations: 1.313 MB / 0.7717 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.9677, allocations: 0 / 0.7717 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.413e-06/0.9677, allocations: 4.094 kB / 0.7717 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.508e-06/0.9677, allocations: 0 / 0.7717 GB, free: 1.516 MB / 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.001677/0.9694, allocations: 1.012 MB / 0.7727 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.9695, allocations: 9.875 kB / 0.7727 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001995/0.9715, allocations: 284.5 kB / 0.773 GB, free: 16.83 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008401/0.9723, allocations: 473.7 kB / 0.7735 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.55e-05/0.9724, allocations: 33.44 kB / 0.7735 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.725e-05/0.9724, allocations: 43.81 kB / 0.7735 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000967/0.9734, allocations: 0.55 MB / 0.7741 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.9734, allocations: 9.391 kB / 0.7741 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.313e-05/0.9735, allocations: 17.31 kB / 0.7741 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/0.9735, allocations: 10.66 kB / 0.7741 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.9745, allocations: 458.6 kB / 0.7745 GB, free: 16.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.002376/0.9769, allocations: 2.127 MB / 0.7766 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008843/0.9778, allocations: 400 kB / 0.777 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004097/0.9782, allocations: 223.1 kB / 0.7772 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006735/0.9789, allocations: 403.9 kB / 0.7776 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005366/0.9795, allocations: 296.2 kB / 0.7779 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=37): time 2.194e-06/0.9795, allocations: 0.8438 kB / 0.7779 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37): time 0.001565/0.981, allocations: 0.6868 MB / 0.7785 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.9811, allocations: 60.78 kB / 0.7786 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004897/0.9816, allocations: 495.5 kB / 0.7791 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.456e-05/0.9817, allocations: 35.02 kB / 0.7791 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/0.9818, allocations: 267.2 kB / 0.7794 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.556e-05/0.9819, allocations: 121.9 kB / 0.7795 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/0.9821, allocations: 93.91 kB / 0.7796 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.9822, allocations: 366.2 kB / 0.7799 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004188/0.9826, allocations: 198.9 kB / 0.7801 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004623/0.9831, allocations: 315.9 kB / 0.7804 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008466/0.984, allocations: 0.543 MB / 0.7809 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.984, allocations: 0 / 0.7809 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001138/0.9851, allocations: 0.6542 MB / 0.7816 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.24e-05/0.9852, allocations: 69.62 kB / 0.7816 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.9852, allocations: 3.344 kB / 0.7816 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.9852, allocations: 5.094 kB / 0.7817 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004335/0.9857, allocations: 101.3 kB / 0.7817 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.9857, allocations: 5.812 kB / 0.7818 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000481/0.9862, allocations: 76.25 kB / 0.7818 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.756e-05/0.9862, allocations: 21.28 kB / 0.7818 GB, free: 13.39 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.0002003/0.9864, allocations: 194.4 kB / 0.782 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.238e-05/0.9865, allocations: 54.88 kB / 0.7821 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001027/0.9875, allocations: 0.5348 MB / 0.7826 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.9876, allocations: 4.406 kB / 0.7826 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.9876, allocations: 2.812 kB / 0.7826 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.9876, allocations: 2.438 kB / 0.7826 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001932/0.9895, allocations: 1.346 MB / 0.7839 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.9895, allocations: 4.156 kB / 0.7839 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000379/0.9899, allocations: 81.03 kB / 0.784 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.9899, allocations: 10.47 kB / 0.784 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.499e-05/0.99, allocations: 16.88 kB / 0.784 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.356e-05/0.99, allocations: 9.172 kB / 0.784 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.99, allocations: 8.562 kB / 0.7841 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001455/0.9915, allocations: 0.9334 MB / 0.785 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002186/0.9917, allocations: 168.6 kB / 0.7851 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.155e-05/0.9918, allocations: 17.31 kB / 0.7851 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004269/0.9922, allocations: 34.3 kB / 0.7852 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.9923, allocations: 50.53 kB / 0.7852 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.302e-05/0.9924, allocations: 18.62 kB / 0.7852 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003421/0.9927, allocations: 344.7 kB / 0.7856 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9927, allocations: 0 / 0.7856 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005228/0.9933, allocations: 152.9 kB / 0.7857 GB, free: 12.24 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 (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.0003596/0.9936, allocations: 191.6 kB / 0.7859 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001024/0.9947, allocations: 0.5832 MB / 0.7865 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.9947, allocations: 0.5625 kB / 0.7865 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005839/0.9953, allocations: 290 kB / 0.7867 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001187/0.9965, allocations: 288.9 kB / 0.787 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001557/0.998, allocations: 1.042 MB / 0.788 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003845/0.9984, allocations: 0.8671 MB / 0.7889 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003917/0.9988, allocations: 129.8 kB / 0.789 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.999, allocations: 42.66 kB / 0.7891 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of SimCode: time 2.31e-07/0.999, allocations: 0 / 0.7891 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of Templates: time 0.01514/1.014, allocations: 10.78 MB / 0.7996 GB, free: 9.543 MB / 0.5919 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)