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.00116/0.00116, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001296/0.001296, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.455/1.455, allocations: 222.9 MB / 239.8 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9186/0.9186, allocations: 135.1 MB / 425.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 68.08 kB / 0.5047 GB, free: 5.727 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1805, allocations: 80.92 MB / 0.5837 GB, free: 4.973 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5823/0.7628, allocations: 179.5 MB / 0.759 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006658/0.7695, allocations: 4.476 MB / 0.7634 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007888/0.7703, allocations: 19.88 kB / 0.7634 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007231/0.7711, allocations: 186.7 kB / 0.7636 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002058/0.7732, allocations: 0.7195 MB / 0.7643 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003688/0.7769, allocations: 1.405 MB / 0.7657 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001839/0.7787, allocations: 1.692 MB / 0.7673 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005288/0.7793, allocations: 378.2 kB / 0.7677 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009255/0.7802, allocations: 0.5213 MB / 0.7682 GB, free: 480 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004669/0.7807, allocations: 426.2 kB / 0.7686 GB, free: 52 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.031e-05/0.7808, allocations: 32 kB / 0.7686 GB, free: 20 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003021/0.7838, allocations: 1.804 MB / 0.7704 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001919/0.784, allocations: 171.3 kB / 0.7706 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003023/0.7843, allocations: 286.5 kB / 0.7708 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001971/0.7863, allocations: 1.387 MB / 0.7722 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.7863, allocations: 4 kB / 0.7722 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of FrontEnd: time 7.71e-07/0.7863, allocations: 0 / 0.7722 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.7863, allocations: 0 / 0.7722 GB, free: 12.37 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.00168/0.788, allocations: 1.021 MB / 0.7732 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.7881, allocations: 12.03 kB / 0.7732 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002118/0.7902, allocations: 286.9 kB / 0.7735 GB, free: 11 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007121/0.7909, allocations: 441.5 kB / 0.7739 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.582e-05/0.791, allocations: 33 kB / 0.7739 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.677e-05/0.791, allocations: 40 kB / 0.774 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.7921, allocations: 0.5468 MB / 0.7745 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.7921, allocations: 7.938 kB / 0.7745 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.068e-05/0.7922, allocations: 19.94 kB / 0.7745 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.7922, allocations: 8 kB / 0.7745 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/0.7932, allocations: 459.5 kB / 0.775 GB, free: 9.395 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.002363/0.7956, allocations: 2.127 MB / 0.777 GB, free: 7.137 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009798/0.7966, allocations: 406.4 kB / 0.7774 GB, free: 6.73 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000464/0.797, allocations: 234.6 kB / 0.7777 GB, free: 6.5 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006669/0.7977, allocations: 392.3 kB / 0.778 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006499/0.7984, allocations: 293.6 kB / 0.7783 GB, free: 5.746 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=37): time 2.405e-06/0.7984, allocations: 0 / 0.7783 GB, free: 5.746 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37): time 0.001802/0.8002, allocations: 0.6852 MB / 0.779 GB, free: 5.055 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.8003, allocations: 63.38 kB / 0.779 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006024/0.8009, allocations: 498 kB / 0.7795 GB, free: 4.48 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.596e-05/0.8009, allocations: 37.7 kB / 0.7795 GB, free: 4.438 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/0.8011, allocations: 260.1 kB / 0.7798 GB, free: 4.18 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.8012, allocations: 122.2 kB / 0.7799 GB, free: 4.059 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001846/0.8014, allocations: 90.12 kB / 0.78 GB, free: 3.965 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.8016, allocations: 366.8 kB / 0.7803 GB, free: 3.598 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004962/0.8021, allocations: 192.8 kB / 0.7805 GB, free: 3.41 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005944/0.8027, allocations: 320 kB / 0.7808 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/0.8038, allocations: 0.537 MB / 0.7814 GB, free: 2.473 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.8038, allocations: 7.922 kB / 0.7814 GB, free: 2.465 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001327/0.8051, allocations: 0.6457 MB / 0.782 GB, free: 1.801 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.505e-05/0.8052, allocations: 67.41 kB / 0.7821 GB, free: 1.723 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.8052, allocations: 4 kB / 0.7821 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.8052, allocations: 4 kB / 0.7821 GB, free: 1.715 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005299/0.8058, allocations: 99.81 kB / 0.7822 GB, free: 1.617 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.531e-05/0.8058, allocations: 11.86 kB / 0.7822 GB, free: 1.609 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006195/0.8064, allocations: 87.39 kB / 0.7823 GB, free: 1.523 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-05/0.8065, allocations: 20 kB / 0.7823 GB, free: 1.504 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.0002539/0.8068, allocations: 194.2 kB / 0.7825 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.906e-05/0.8068, allocations: 59.33 kB / 0.7825 GB, free: 1.246 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001318/0.8082, allocations: 0.5379 MB / 0.783 GB, free: 0.6953 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.8082, allocations: 4 kB / 0.7831 GB, free: 0.6914 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.8082, allocations: 0 / 0.7831 GB, free: 0.6914 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.8082, allocations: 3.984 kB / 0.7831 GB, free: 0.6875 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002366/0.8106, allocations: 1.357 MB / 0.7844 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.8106, allocations: 4 kB / 0.7844 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004067/0.811, allocations: 72.33 kB / 0.7845 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.722e-05/0.811, allocations: 12 kB / 0.7845 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.277e-05/0.8111, allocations: 11.94 kB / 0.7845 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.006e-05/0.8111, allocations: 11.98 kB / 0.7845 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.8111, allocations: 4 kB / 0.7845 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001637/0.8127, allocations: 0.9325 MB / 0.7854 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002427/0.813, allocations: 176.3 kB / 0.7856 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.805e-05/0.8131, allocations: 12 kB / 0.7856 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004738/0.8136, allocations: 45.33 kB / 0.7856 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.8137, allocations: 55.81 kB / 0.7857 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.153e-05/0.8138, allocations: 12 kB / 0.7857 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004268/0.8142, allocations: 346.8 kB / 0.786 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8142, allocations: 0 / 0.786 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006524/0.8149, allocations: 151.8 kB / 0.7862 GB, free: 13.33 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.000493/0.8154, allocations: 203.3 kB / 0.7864 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001248/0.8166, allocations: 0.5721 MB / 0.7869 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.8166, allocations: 0.75 kB / 0.7869 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000674/0.8173, allocations: 294.7 kB / 0.7872 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001371/0.8187, allocations: 275.2 kB / 0.7875 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002158/0.8209, allocations: 1.209 MB / 0.7886 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000566/0.8214, allocations: 0.8668 MB / 0.7895 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00055/0.822, allocations: 135 kB / 0.7896 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001646/0.8222, allocations: 43.42 kB / 0.7897 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of SimCode: time 6.81e-07/0.8222, allocations: 0 / 0.7897 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of Templates: time 0.01918/0.8414, allocations: 10.2 MB / 0.7996 GB, free: 15.64 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)