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.001865/0.001864, allocations: 103.2 kB / 16.36 MB, free: 6.336 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.00254/0.002541, allocations: 198 kB / 17.3 MB, free: 5.883 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.453/1.453, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8258/0.8258, allocations: 132.2 MB / 423.3 MB, free: 6.613 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001213, allocations: 59.91 kB / 0.5032 GB, free: 10.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4111/0.4123, allocations: 80.19 MB / 0.5815 GB, free: 27.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.552/0.9644, allocations: 181.8 MB / 0.759 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006095/0.9705, allocations: 4.459 MB / 0.7633 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008227/0.9714, allocations: 19.66 kB / 0.7634 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007967/0.9723, allocations: 251.3 kB / 0.7636 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002376/0.9747, allocations: 0.7538 MB / 0.7643 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004091/0.9788, allocations: 1.52 MB / 0.7658 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002022/0.9808, allocations: 1.261 MB / 0.767 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008512/0.9817, allocations: 442.2 kB / 0.7675 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001421/0.9831, allocations: 0.5789 MB / 0.768 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000508/0.9836, allocations: 406.1 kB / 0.7684 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.976e-05/0.9837, allocations: 46.97 kB / 0.7685 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00297/0.9867, allocations: 1.543 MB / 0.77 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002742/0.987, allocations: 193.4 kB / 0.7702 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005365/0.9875, allocations: 302.9 kB / 0.7704 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002815/0.9903, allocations: 1.314 MB / 0.7717 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.9904, allocations: 4.406 kB / 0.7717 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.282e-06/0.9904, allocations: 0 / 0.7717 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.496e-05/0.9904, allocations: 0 / 0.7717 GB, free: 1.512 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.001878/0.9923, allocations: 1.013 MB / 0.7727 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.9923, allocations: 9.625 kB / 0.7727 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002032/0.9944, allocations: 280.2 kB / 0.773 GB, free: 16.82 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000891/0.9953, allocations: 473.1 kB / 0.7735 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.652e-05/0.9953, allocations: 33.47 kB / 0.7735 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.643e-05/0.9954, allocations: 50.33 kB / 0.7735 GB, free: 16.56 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.9964, allocations: 0.5465 MB / 0.7741 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.9964, allocations: 0 / 0.7741 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.436e-05/0.9965, allocations: 19.25 kB / 0.7741 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.55e-05/0.9965, allocations: 10.72 kB / 0.7741 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001021/0.9975, allocations: 458.1 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.002758/1, allocations: 2.122 MB / 0.7766 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000921/1.001, allocations: 407.2 kB / 0.777 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004402/1.002, allocations: 222.8 kB / 0.7772 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007499/1.002, allocations: 406.2 kB / 0.7776 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005653/1.003, allocations: 299.1 kB / 0.7779 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=37): time 2.705e-06/1.003, allocations: 0.875 kB / 0.7779 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37): time 0.001724/1.005, allocations: 0.6824 MB / 0.7785 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/1.005, allocations: 61.19 kB / 0.7786 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005455/1.005, allocations: 496.9 kB / 0.7791 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.581e-05/1.005, allocations: 40.92 kB / 0.7791 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001922/1.006, allocations: 263.7 kB / 0.7794 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.645e-05/1.006, allocations: 123 kB / 0.7795 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001723/1.006, allocations: 91.47 kB / 0.7796 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001679/1.006, allocations: 363 kB / 0.7799 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004436/1.007, allocations: 201.4 kB / 0.7801 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005265/1.007, allocations: 314.7 kB / 0.7804 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009303/1.008, allocations: 0.548 MB / 0.7809 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.421e-06/1.008, allocations: 3.594 kB / 0.7809 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001279/1.009, allocations: 0.6483 MB / 0.7816 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.473e-05/1.009, allocations: 66.12 kB / 0.7816 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/1.009, allocations: 2.375 kB / 0.7816 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.494e-05/1.009, allocations: 5.906 kB / 0.7817 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004874/1.01, allocations: 96.8 kB / 0.7817 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/1.01, allocations: 9.375 kB / 0.7818 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005691/1.011, allocations: 77.11 kB / 0.7818 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.707e-05/1.011, allocations: 22.5 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.0002743/1.011, allocations: 193.3 kB / 0.782 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.417e-05/1.011, allocations: 57.09 kB / 0.7821 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001105/1.012, allocations: 0.5395 MB / 0.7826 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/1.012, allocations: 2.656 kB / 0.7826 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/1.012, allocations: 0.9375 kB / 0.7826 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/1.012, allocations: 6.281 kB / 0.7826 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002214/1.014, allocations: 1.349 MB / 0.7839 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/1.014, allocations: 3.594 kB / 0.7839 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003963/1.015, allocations: 75.47 kB / 0.784 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.129e-05/1.015, allocations: 5.406 kB / 0.784 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.244e-05/1.015, allocations: 22.08 kB / 0.784 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.805e-06/1.015, allocations: 5.75 kB / 0.784 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/1.015, allocations: 6.75 kB / 0.7841 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001807/1.017, allocations: 0.9268 MB / 0.785 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003474/1.017, allocations: 175.2 kB / 0.7851 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.593e-05/1.017, allocations: 14.16 kB / 0.7851 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000425/1.018, allocations: 37.56 kB / 0.7852 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000147/1.018, allocations: 45.09 kB / 0.7852 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.024e-05/1.018, allocations: 22.28 kB / 0.7852 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004445/1.018, allocations: 345.2 kB / 0.7856 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/1.018, allocations: 0 / 0.7856 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007591/1.019, allocations: 150.7 kB / 0.7857 GB, free: 12.25 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.0005587/1.02, allocations: 202.7 kB / 0.7859 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001124/1.021, allocations: 0.5813 MB / 0.7865 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/1.021, allocations: 0.9062 kB / 0.7865 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006069/1.021, allocations: 291.9 kB / 0.7868 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00136/1.023, allocations: 285.5 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.002063/1.025, allocations: 1.043 MB / 0.788 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004932/1.025, allocations: 0.8678 MB / 0.7889 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005102/1.026, allocations: 124.3 kB / 0.789 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/1.026, allocations: 44.78 kB / 0.7891 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of SimCode: time 6.91e-07/1.026, allocations: 0.9688 kB / 0.7891 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of Templates: time 0.01792/1.044, allocations: 10.78 MB / 0.7996 GB, free: 9.559 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 cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)