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.001167/0.001167, allocations: 108 kB / 15.6 MB, free: 132 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.001072/0.001072, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.359/1.359, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.012/1.012, allocations: 135.1 MB / 425.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 67.83 kB / 0.5053 GB, free: 5.32 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1855/0.187, allocations: 80.92 MB / 0.5844 GB, free: 4.562 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5191/0.7062, allocations: 181.8 MB / 0.7619 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006279/0.7125, allocations: 4.446 MB / 0.7662 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006942/0.7132, allocations: 19.88 kB / 0.7662 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006883/0.7139, allocations: 246.1 kB / 0.7665 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002005/0.716, allocations: 0.7619 MB / 0.7672 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003425/0.7194, allocations: 1.512 MB / 0.7687 GB, free: 148 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001365/0.7208, allocations: 1.252 MB / 0.7699 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005908/0.7214, allocations: 453.3 kB / 0.7703 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009135/0.7223, allocations: 0.5682 MB / 0.7709 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000455/0.7228, allocations: 410.3 kB / 0.7713 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.753e-05/0.7229, allocations: 44 kB / 0.7713 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00265/0.7255, allocations: 1.539 MB / 0.7728 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002049/0.7258, allocations: 187.5 kB / 0.773 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003037/0.7261, allocations: 306.5 kB / 0.7733 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001953/0.728, allocations: 1.301 MB / 0.7746 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.728, allocations: 0 / 0.7746 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7281, allocations: 4 kB / 0.7746 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.476e-06/0.7281, allocations: 0 / 0.7746 GB, free: 10.09 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.001684/0.7298, allocations: 1.017 MB / 0.7756 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.7298, allocations: 16.02 kB / 0.7756 GB, free: 9.004 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001984/0.7318, allocations: 286.4 kB / 0.7759 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006868/0.7325, allocations: 441.5 kB / 0.7763 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.186e-05/0.7325, allocations: 36.98 kB / 0.7763 GB, free: 8.223 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.531e-05/0.7326, allocations: 44 kB / 0.7764 GB, free: 8.18 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/0.7337, allocations: 0.5507 MB / 0.7769 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.7337, allocations: 0 / 0.7769 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.633e-05/0.7338, allocations: 27.81 kB / 0.7769 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.7338, allocations: 12 kB / 0.7769 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001017/0.7348, allocations: 455.6 kB / 0.7774 GB, free: 7.113 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.002383/0.7372, allocations: 2.119 MB / 0.7794 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009809/0.7382, allocations: 414.4 kB / 0.7798 GB, free: 4.441 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004769/0.7387, allocations: 224.7 kB / 0.78 GB, free: 4.219 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006568/0.7393, allocations: 400.3 kB / 0.7804 GB, free: 3.754 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005873/0.7399, allocations: 289.6 kB / 0.7807 GB, free: 3.461 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=37): time 2.004e-06/0.7399, allocations: 0 / 0.7807 GB, free: 3.461 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37): time 0.001769/0.7417, allocations: 0.6891 MB / 0.7814 GB, free: 2.766 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/0.7418, allocations: 63.39 kB / 0.7814 GB, free: 2.691 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005432/0.7423, allocations: 498 kB / 0.7819 GB, free: 2.195 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.581e-05/0.7424, allocations: 33.7 kB / 0.7819 GB, free: 2.156 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/0.7426, allocations: 260.1 kB / 0.7822 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.7427, allocations: 126.2 kB / 0.7823 GB, free: 1.773 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001514/0.7428, allocations: 82.12 kB / 0.7824 GB, free: 1.688 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.743, allocations: 370.8 kB / 0.7827 GB, free: 1.316 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004888/0.7435, allocations: 196.8 kB / 0.7829 GB, free: 1.125 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000546/0.744, allocations: 316 kB / 0.7832 GB, free: 0.7773 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009943/0.745, allocations: 0.5409 MB / 0.7838 GB, free: 192 kB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.7451, allocations: 3.938 kB / 0.7838 GB, free: 188 kB / 0.5919 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001341/0.7464, allocations: 0.6492 MB / 0.7844 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.35e-05/0.7465, allocations: 61.91 kB / 0.7845 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.7465, allocations: 4 kB / 0.7845 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.7465, allocations: 4 kB / 0.7845 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004631/0.747, allocations: 100.2 kB / 0.7846 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.747, allocations: 15.92 kB / 0.7846 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005175/0.7475, allocations: 79.39 kB / 0.7846 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-05/0.7476, allocations: 20 kB / 0.7847 GB, free: 15.23 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.0002537/0.7479, allocations: 193.6 kB / 0.7849 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.283e-05/0.7479, allocations: 55.34 kB / 0.7849 GB, free: 14.97 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001224/0.7492, allocations: 0.5438 MB / 0.7854 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.7492, allocations: 4 kB / 0.7854 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.7492, allocations: 0 / 0.7854 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.7492, allocations: 0 / 0.7854 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00221/0.7514, allocations: 1.356 MB / 0.7868 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.7514, allocations: 4 kB / 0.7868 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003884/0.7518, allocations: 71.92 kB / 0.7868 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.308e-06/0.7519, allocations: 11.98 kB / 0.7868 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.238e-05/0.7519, allocations: 12 kB / 0.7869 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/0.7519, allocations: 11.94 kB / 0.7869 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/0.7519, allocations: 7.688 kB / 0.7869 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001675/0.7536, allocations: 0.9378 MB / 0.7878 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002214/0.7538, allocations: 172.3 kB / 0.788 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.512e-05/0.7539, allocations: 15.98 kB / 0.788 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004386/0.7544, allocations: 27.97 kB / 0.788 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/0.7545, allocations: 55.89 kB / 0.7881 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.069e-05/0.7546, allocations: 15.98 kB / 0.7881 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004195/0.755, allocations: 346.8 kB / 0.7884 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.755, allocations: 0 / 0.7884 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005886/0.7556, allocations: 151.8 kB / 0.7885 GB, free: 11.07 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.0004661/0.7561, allocations: 191.8 kB / 0.7887 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00126/0.7573, allocations: 0.6036 MB / 0.7893 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.7574, allocations: 4.75 kB / 0.7893 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006786/0.758, allocations: 295.5 kB / 0.7896 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001405/0.7595, allocations: 282.3 kB / 0.7899 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00189/0.7614, allocations: 1.049 MB / 0.7909 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004458/0.7618, allocations: 0.8626 MB / 0.7917 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005343/0.7624, allocations: 133.2 kB / 0.7919 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001432/0.7625, allocations: 47.42 kB / 0.7919 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of SimCode: time 6.21e-07/0.7625, allocations: 3.938 kB / 0.7919 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of Templates: time 0.01902/0.7816, allocations: 10.76 MB / 0.8024 GB, free: 12.94 MB / 0.6231 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)