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.001069/0.001069, allocations: 108 kB / 15.61 MB, free: 148 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.0013/0.0013, allocations: 193.8 kB / 16.53 MB, free: 6.664 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.31/1.31, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7597/0.7597, allocations: 132.2 MB / 422.6 MB, free: 1.793 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 68.61 kB / 0.5018 GB, free: 3.879 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4426/0.4439, allocations: 80.2 MB / 0.5801 GB, free: 4.559 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1892/0.6331, allocations: 181.8 MB / 0.7576 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006211/0.6394, allocations: 4.454 MB / 0.7619 GB, free: 6.703 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004982/0.6399, allocations: 23.81 kB / 0.762 GB, free: 6.68 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000666/0.6406, allocations: 250.1 kB / 0.7622 GB, free: 6.434 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001744/0.6424, allocations: 0.758 MB / 0.763 GB, free: 5.672 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003297/0.6457, allocations: 1.508 MB / 0.7644 GB, free: 4.164 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001463/0.6472, allocations: 1.266 MB / 0.7657 GB, free: 2.891 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005772/0.6478, allocations: 441.3 kB / 0.7661 GB, free: 2.457 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009078/0.6487, allocations: 0.5721 MB / 0.7666 GB, free: 1.883 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004376/0.6491, allocations: 402.4 kB / 0.767 GB, free: 1.488 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.888e-05/0.6492, allocations: 48 kB / 0.7671 GB, free: 1.441 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002737/0.652, allocations: 1.543 MB / 0.7686 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002176/0.6522, allocations: 195.4 kB / 0.7688 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003623/0.6526, allocations: 302.5 kB / 0.7691 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001995/0.6546, allocations: 1.309 MB / 0.7703 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.6546, allocations: 0 / 0.7703 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6546, allocations: 0 / 0.7703 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.018e-05/0.6546, allocations: 0 / 0.7703 GB, free: 14.09 MB / 0.6075 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.001743/0.6564, allocations: 1.006 MB / 0.7713 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.6564, allocations: 12.03 kB / 0.7713 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001937/0.6583, allocations: 286.9 kB / 0.7716 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006821/0.659, allocations: 441.4 kB / 0.772 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.904e-05/0.6591, allocations: 29 kB / 0.772 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.882e-05/0.6592, allocations: 48 kB / 0.7721 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009614/0.6601, allocations: 0.5468 MB / 0.7726 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.6602, allocations: 7.875 kB / 0.7726 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.643e-05/0.6602, allocations: 19.98 kB / 0.7727 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.6602, allocations: 16 kB / 0.7727 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/0.6612, allocations: 451.6 kB / 0.7731 GB, free: 11.12 MB / 0.6075 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.002365/0.6636, allocations: 2.131 MB / 0.7752 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009544/0.6646, allocations: 406.5 kB / 0.7756 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004719/0.6651, allocations: 224.7 kB / 0.7758 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006457/0.6657, allocations: 400.3 kB / 0.7762 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006049/0.6663, allocations: 290.7 kB / 0.7764 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=37): time 2.374e-06/0.6664, allocations: 0 / 0.7764 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of matching and sorting (n=37): time 0.001759/0.6681, allocations: 0.6777 MB / 0.7771 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.403e-05/0.6682, allocations: 67.16 kB / 0.7772 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006427/0.6688, allocations: 498 kB / 0.7776 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.344e-05/0.6689, allocations: 37.7 kB / 0.7777 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002159/0.6691, allocations: 260.1 kB / 0.7779 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.6693, allocations: 126.2 kB / 0.778 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000169/0.6694, allocations: 90.06 kB / 0.7781 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001905/0.6696, allocations: 370.7 kB / 0.7785 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005337/0.6702, allocations: 196.8 kB / 0.7787 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006534/0.6708, allocations: 316 kB / 0.779 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001123/0.672, allocations: 0.5423 MB / 0.7795 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.672, allocations: 4 kB / 0.7795 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001424/0.6734, allocations: 0.6571 MB / 0.7801 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.033e-05/0.6735, allocations: 55.41 kB / 0.7802 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.6735, allocations: 8 kB / 0.7802 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.386e-05/0.6736, allocations: 8 kB / 0.7802 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004824/0.6741, allocations: 96.12 kB / 0.7803 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-05/0.6741, allocations: 12 kB / 0.7803 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005095/0.6746, allocations: 71.48 kB / 0.7804 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.392e-05/0.6747, allocations: 23.98 kB / 0.7804 GB, free: 3.227 MB / 0.6075 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.0002458/0.6749, allocations: 197.6 kB / 0.7806 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.403e-05/0.675, allocations: 51.34 kB / 0.7806 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001213/0.6762, allocations: 0.538 MB / 0.7812 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.6762, allocations: 4 kB / 0.7812 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.6762, allocations: 0 / 0.7812 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.6763, allocations: 0 / 0.7812 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002225/0.6785, allocations: 1.36 MB / 0.7825 GB, free: 0.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.6785, allocations: 8.375 kB / 0.7825 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004034/0.6789, allocations: 75.89 kB / 0.7826 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/0.6789, allocations: 4 kB / 0.7826 GB, free: 0.8711 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.403e-05/0.679, allocations: 19.92 kB / 0.7826 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.679, allocations: 4 kB / 0.7826 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.679, allocations: 4 kB / 0.7826 GB, free: 0.8438 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001652/0.6806, allocations: 0.9295 MB / 0.7835 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002137/0.6809, allocations: 172.4 kB / 0.7837 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.329e-05/0.681, allocations: 20 kB / 0.7837 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004233/0.6814, allocations: 31.95 kB / 0.7837 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/0.6815, allocations: 51.89 kB / 0.7838 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.09e-05/0.6816, allocations: 19.98 kB / 0.7838 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000406/0.682, allocations: 346.8 kB / 0.7841 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.682, allocations: 0 / 0.7841 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005969/0.6826, allocations: 151.8 kB / 0.7843 GB, free: 15.05 MB / 0.6231 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.0004042/0.683, allocations: 199.2 kB / 0.7845 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00121/0.6842, allocations: 0.5919 MB / 0.7851 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.6842, allocations: 0.75 kB / 0.7851 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006366/0.6849, allocations: 294.8 kB / 0.7853 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001348/0.6862, allocations: 289.3 kB / 0.7856 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001832/0.6881, allocations: 1.045 MB / 0.7866 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004599/0.6886, allocations: 0.8626 MB / 0.7875 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0005091/0.6891, allocations: 132.7 kB / 0.7876 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.6892, allocations: 47.44 kB / 0.7876 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of SimCode: time 4.81e-07/0.6892, allocations: 0 / 0.7876 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of Templates: time 0.0171/0.7063, allocations: 10.77 MB / 0.7982 GB, free: 0.9141 MB / 0.6231 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)