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.005238/0.005239, allocations: 101.5 kB / 15.88 MB, free: 5.867 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.001165/0.001165, allocations: 189 kB / 16.79 MB, free: 5.812 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.352/1.352, allocations: 222.9 MB / 240.5 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9284/0.9284, allocations: 135.1 MB / 425.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 60.28 kB / 0.5053 GB, free: 5.754 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/0.1716, allocations: 80.93 MB / 0.5843 GB, free: 4.996 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5114/0.6831, allocations: 179.5 MB / 0.7597 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006524/0.6896, allocations: 4.474 MB / 0.764 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007863/0.6905, allocations: 19.88 kB / 0.7641 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007566/0.6913, allocations: 190.8 kB / 0.7642 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002166/0.6934, allocations: 0.7234 MB / 0.7649 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003896/0.6974, allocations: 1.397 MB / 0.7663 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001897/0.6993, allocations: 1.689 MB / 0.768 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005675/0.6998, allocations: 386.2 kB / 0.7683 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001012/0.7009, allocations: 0.5175 MB / 0.7688 GB, free: 480 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005002/0.7014, allocations: 430.2 kB / 0.7692 GB, free: 48 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.867e-05/0.7015, allocations: 28 kB / 0.7693 GB, free: 20 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003292/0.7048, allocations: 1.808 MB / 0.771 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.00023/0.705, allocations: 171.5 kB / 0.7712 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003487/0.7054, allocations: 286.5 kB / 0.7715 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001415/0.7068, allocations: 0.9006 MB / 0.7723 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.7068, allocations: 0 / 0.7723 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of FrontEnd: time 4.308e-06/0.7068, allocations: 0 / 0.7723 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.347e-05/0.7068, allocations: 11.94 kB / 0.7724 GB, free: 12.84 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.001916/0.7087, allocations: 1.021 MB / 0.7734 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.7088, allocations: 12.03 kB / 0.7734 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002101/0.7109, allocations: 282.9 kB / 0.7736 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007481/0.7117, allocations: 441.5 kB / 0.7741 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.406e-05/0.7117, allocations: 36.94 kB / 0.7741 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.409e-05/0.7118, allocations: 40 kB / 0.7741 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/0.7129, allocations: 0.5468 MB / 0.7747 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.7129, allocations: 4 kB / 0.7747 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.436e-05/0.713, allocations: 19.94 kB / 0.7747 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.713, allocations: 8 kB / 0.7747 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/0.7141, allocations: 463.5 kB / 0.7751 GB, free: 9.867 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.00264/0.7167, allocations: 2.119 MB / 0.7772 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009828/0.7177, allocations: 406.5 kB / 0.7776 GB, free: 7.211 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000539/0.7183, allocations: 224.6 kB / 0.7778 GB, free: 6.988 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007329/0.719, allocations: 396.3 kB / 0.7782 GB, free: 6.527 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006753/0.7197, allocations: 297.6 kB / 0.7785 GB, free: 6.227 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=37): time 2.926e-06/0.7197, allocations: 3.938 kB / 0.7785 GB, free: 6.223 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37): time 0.001819/0.7215, allocations: 0.6891 MB / 0.7791 GB, free: 5.527 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.7216, allocations: 63.33 kB / 0.7792 GB, free: 5.453 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005758/0.7222, allocations: 498 kB / 0.7797 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.412e-05/0.7222, allocations: 33.7 kB / 0.7797 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002087/0.7224, allocations: 256.1 kB / 0.78 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/0.7226, allocations: 126.2 kB / 0.7801 GB, free: 4.535 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001602/0.7227, allocations: 98.11 kB / 0.7802 GB, free: 4.434 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.7229, allocations: 358.8 kB / 0.7805 GB, free: 4.074 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000478/0.7234, allocations: 196.8 kB / 0.7807 GB, free: 3.883 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005674/0.7239, allocations: 312.1 kB / 0.781 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009947/0.7249, allocations: 0.5448 MB / 0.7815 GB, free: 2.945 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/0.725, allocations: 3.938 kB / 0.7815 GB, free: 2.941 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00127/0.7262, allocations: 0.6453 MB / 0.7822 GB, free: 2.277 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.344e-05/0.7263, allocations: 59.41 kB / 0.7822 GB, free: 2.207 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.7263, allocations: 4.375 kB / 0.7822 GB, free: 2.203 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.7263, allocations: 15.92 kB / 0.7822 GB, free: 2.188 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000463/0.7268, allocations: 95.83 kB / 0.7823 GB, free: 2.094 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/0.7268, allocations: 7.984 kB / 0.7823 GB, free: 2.086 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005835/0.7274, allocations: 83.39 kB / 0.7824 GB, free: 2.004 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.689e-05/0.7275, allocations: 27.98 kB / 0.7824 GB, free: 1.977 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.7277, allocations: 195.6 kB / 0.7826 GB, free: 1.777 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.108e-05/0.7278, allocations: 59.33 kB / 0.7827 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00121/0.7291, allocations: 0.5365 MB / 0.7832 GB, free: 1.172 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.757e-06/0.7291, allocations: 7.984 kB / 0.7832 GB, free: 1.164 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.7291, allocations: 0 / 0.7832 GB, free: 1.164 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.7291, allocations: 0 / 0.7832 GB, free: 1.164 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002239/0.7313, allocations: 1.355 MB / 0.7845 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.7314, allocations: 4 kB / 0.7845 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003967/0.7318, allocations: 71.89 kB / 0.7846 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.04e-05/0.7318, allocations: 8 kB / 0.7846 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.362e-05/0.7318, allocations: 8.5 kB / 0.7846 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.309e-05/0.7318, allocations: 19.98 kB / 0.7847 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/0.7318, allocations: 7.938 kB / 0.7847 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001647/0.7335, allocations: 0.9325 MB / 0.7856 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002112/0.7337, allocations: 176.2 kB / 0.7857 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.137e-05/0.7338, allocations: 8 kB / 0.7857 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004662/0.7343, allocations: 44.02 kB / 0.7858 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/0.7344, allocations: 51.81 kB / 0.7858 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.198e-05/0.7345, allocations: 16 kB / 0.7859 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004083/0.7349, allocations: 350.8 kB / 0.7862 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7349, allocations: 0 / 0.7862 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005922/0.7355, allocations: 151.8 kB / 0.7863 GB, free: 13.8 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.0004993/0.736, allocations: 200 kB / 0.7865 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001139/0.7371, allocations: 0.576 MB / 0.7871 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.7372, allocations: 0 / 0.7871 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005873/0.7377, allocations: 268.2 kB / 0.7873 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001353/0.7391, allocations: 281.1 kB / 0.7876 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001868/0.741, allocations: 1.238 MB / 0.7888 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004014/0.7414, allocations: 0.859 MB / 0.7897 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000192/0.7416, allocations: 55.36 kB / 0.7897 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of SimCode: time 5.51e-07/0.7416, allocations: 3.938 kB / 0.7897 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of Templates: time 0.01292/0.7545, allocations: 9.008 MB / 0.7985 GB, free: 1.348 MB / 0.6075 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)