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.00159/0.00159, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001558/0.001558, allocations: 194.7 kB / 16.25 MB, free: 6.629 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.368/1.368, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9471/0.9471, allocations: 135.6 MB / 425.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001935, allocations: 72.31 kB / 0.5054 GB, free: 5.207 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.189, allocations: 81 MB / 0.5845 GB, free: 4.336 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5012/0.6903, allocations: 179.4 MB / 0.7597 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006802/0.6971, allocations: 4.425 MB / 0.764 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006884/0.6979, allocations: 19.88 kB / 0.764 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007956/0.6987, allocations: 202.7 kB / 0.7642 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002286/0.701, allocations: 0.7078 MB / 0.7649 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003825/0.7049, allocations: 1.418 MB / 0.7663 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001766/0.7066, allocations: 1.258 MB / 0.7675 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008134/0.7075, allocations: 438.8 kB / 0.7679 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001332/0.7088, allocations: 0.576 MB / 0.7685 GB, free: 60 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007865/0.7096, allocations: 430.4 kB / 0.7689 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001209/0.7097, allocations: 44 kB / 0.7689 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002929/0.7127, allocations: 1.601 MB / 0.7705 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002995/0.713, allocations: 199.4 kB / 0.7707 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004822/0.7135, allocations: 310.5 kB / 0.771 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002476/0.716, allocations: 1.406 MB / 0.7724 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.716, allocations: 0 / 0.7724 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.863e-06/0.716, allocations: 0 / 0.7724 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.395e-05/0.716, allocations: 0 / 0.7724 GB, free: 12.08 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.002318/0.7183, allocations: 1.025 MB / 0.7734 GB, free: 11 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.7184, allocations: 8.031 kB / 0.7734 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00211/0.7205, allocations: 286.9 kB / 0.7736 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008021/0.7213, allocations: 437.5 kB / 0.7741 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.361e-05/0.7214, allocations: 36.98 kB / 0.7741 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.585e-05/0.7215, allocations: 40 kB / 0.7741 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/0.7226, allocations: 0.5468 MB / 0.7747 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.7226, allocations: 0 / 0.7747 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.132e-05/0.7227, allocations: 19.94 kB / 0.7747 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.736e-05/0.7227, allocations: 19.98 kB / 0.7747 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001109/0.7238, allocations: 455.5 kB / 0.7751 GB, free: 9.102 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.00284/0.7267, allocations: 2.123 MB / 0.7772 GB, free: 6.84 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009756/0.7277, allocations: 414.4 kB / 0.7776 GB, free: 6.426 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004967/0.7282, allocations: 224.7 kB / 0.7778 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007014/0.7289, allocations: 400.3 kB / 0.7782 GB, free: 5.738 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006681/0.7296, allocations: 285.5 kB / 0.7785 GB, free: 5.449 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=37): time 2.185e-06/0.7296, allocations: 0 / 0.7785 GB, free: 5.449 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37): time 0.001898/0.7315, allocations: 0.6861 MB / 0.7791 GB, free: 4.758 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.7316, allocations: 55.41 kB / 0.7792 GB, free: 4.691 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006883/0.7322, allocations: 0.4941 MB / 0.7797 GB, free: 4.188 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.102e-05/0.7323, allocations: 37.7 kB / 0.7797 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002442/0.7326, allocations: 260.1 kB / 0.78 GB, free: 3.887 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000145/0.7327, allocations: 122.2 kB / 0.7801 GB, free: 3.766 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001838/0.7329, allocations: 90.12 kB / 0.7802 GB, free: 3.672 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002078/0.7331, allocations: 362.8 kB / 0.7805 GB, free: 3.309 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005376/0.7337, allocations: 200.8 kB / 0.7807 GB, free: 3.113 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006153/0.7343, allocations: 312.1 kB / 0.781 GB, free: 2.766 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/0.7354, allocations: 0.537 MB / 0.7815 GB, free: 2.18 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/0.7355, allocations: 8.938 kB / 0.7815 GB, free: 2.172 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001456/0.7369, allocations: 0.6609 MB / 0.7822 GB, free: 1.492 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.899e-05/0.737, allocations: 55.41 kB / 0.7822 GB, free: 1.426 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.737, allocations: 4 kB / 0.7822 GB, free: 1.422 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.6e-05/0.7371, allocations: 11.94 kB / 0.7822 GB, free: 1.41 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004977/0.7376, allocations: 91.88 kB / 0.7823 GB, free: 1.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.953e-05/0.7376, allocations: 11.94 kB / 0.7823 GB, free: 1.309 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006112/0.7382, allocations: 83.72 kB / 0.7824 GB, free: 1.227 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.617e-05/0.7383, allocations: 20.7 kB / 0.7824 GB, free: 1.207 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.0002831/0.7386, allocations: 196.3 kB / 0.7826 GB, free: 1.008 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.693e-05/0.7387, allocations: 54.47 kB / 0.7827 GB, free: 0.957 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001276/0.74, allocations: 0.5409 MB / 0.7832 GB, free: 416 kB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.74, allocations: 4 kB / 0.7832 GB, free: 412 kB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.74, allocations: 3.938 kB / 0.7832 GB, free: 408 kB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/0.74, allocations: 7.984 kB / 0.7832 GB, free: 400 kB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002511/0.7425, allocations: 1.35 MB / 0.7845 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.7425, allocations: 8.094 kB / 0.7846 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004103/0.743, allocations: 79.88 kB / 0.7846 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.117e-06/0.743, allocations: 4 kB / 0.7846 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.682e-05/0.743, allocations: 12 kB / 0.7846 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.673e-06/0.743, allocations: 4 kB / 0.7847 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.326e-06/0.743, allocations: 7.938 kB / 0.7847 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001789/0.7448, allocations: 0.9377 MB / 0.7856 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002588/0.7451, allocations: 168.3 kB / 0.7857 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.661e-05/0.7452, allocations: 19.98 kB / 0.7858 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004821/0.7457, allocations: 39.95 kB / 0.7858 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/0.7458, allocations: 51.89 kB / 0.7858 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.772e-05/0.7459, allocations: 19.98 kB / 0.7859 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004503/0.7463, allocations: 338.8 kB / 0.7862 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7463, allocations: 0 / 0.7862 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000599/0.747, allocations: 155.8 kB / 0.7863 GB, free: 13.04 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.0005108/0.7475, allocations: 199.1 kB / 0.7865 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001317/0.7488, allocations: 0.6005 MB / 0.7871 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.7488, allocations: 0 / 0.7871 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007028/0.7495, allocations: 284.8 kB / 0.7874 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001344/0.7509, allocations: 289.5 kB / 0.7877 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002077/0.753, allocations: 1.211 MB / 0.7888 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005698/0.7535, allocations: 0.8665 MB / 0.7897 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005264/0.7541, allocations: 125.4 kB / 0.7898 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/0.7542, allocations: 47.44 kB / 0.7899 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.7542, allocations: 0 / 0.7899 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of Templates: time 0.02035/0.7746, allocations: 10.6 MB / 0.8002 GB, free: 14.93 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)