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.000783/0.000783, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.005249/0.005249, allocations: 170.2 kB / 16.27 MB, free: 6.652 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.534/1.534, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8068/0.8068, allocations: 132.3 MB / 423.8 MB, free: 1.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004867/0.0004868, allocations: 8 kB / 0.504 GB, free: 3.887 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5371/0.5376, allocations: 81.58 MB / 0.5837 GB, free: 4.035 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2019/0.7396, allocations: 177.2 MB / 0.7567 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006587/0.7462, allocations: 4.419 MB / 0.761 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004736/0.7467, allocations: 19.81 kB / 0.761 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006264/0.7474, allocations: 190.8 kB / 0.7612 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001809/0.7492, allocations: 0.7117 MB / 0.7619 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003474/0.7527, allocations: 1.411 MB / 0.7633 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001802/0.7545, allocations: 1.699 MB / 0.765 GB, free: 6.156 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005732/0.7551, allocations: 373.7 kB / 0.7653 GB, free: 5.785 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009641/0.756, allocations: 0.5135 MB / 0.7658 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004983/0.7565, allocations: 410.3 kB / 0.7662 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.949e-05/0.7566, allocations: 24 kB / 0.7662 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002927/0.7596, allocations: 1.804 MB / 0.768 GB, free: 3.035 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001931/0.7598, allocations: 175.4 kB / 0.7682 GB, free: 2.863 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003292/0.7601, allocations: 304.2 kB / 0.7684 GB, free: 2.559 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001959/0.7621, allocations: 1.371 MB / 0.7698 GB, free: 1.184 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.7621, allocations: 4 kB / 0.7698 GB, free: 1.18 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7621, allocations: 0 / 0.7698 GB, free: 1.18 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.7621, allocations: 4 kB / 0.7698 GB, free: 1.176 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.001711/0.7638, allocations: 0.928 MB / 0.7707 GB, free: 192 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.7639, allocations: 8.031 kB / 0.7707 GB, free: 184 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002078/0.766, allocations: 282.9 kB / 0.771 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007285/0.7667, allocations: 449.5 kB / 0.7714 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.582e-05/0.7667, allocations: 29 kB / 0.7714 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.896e-05/0.7669, allocations: 48 kB / 0.7715 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/0.7679, allocations: 0.5663 MB / 0.772 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.7679, allocations: 0 / 0.772 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.557e-05/0.768, allocations: 16 kB / 0.772 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/0.768, allocations: 11.98 kB / 0.7721 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00112/0.7691, allocations: 491.6 kB / 0.7725 GB, free: 14.24 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.002464/0.7716, allocations: 2.131 MB / 0.7746 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/0.7726, allocations: 438.4 kB / 0.775 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005168/0.7732, allocations: 244.7 kB / 0.7753 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006697/0.7739, allocations: 412.3 kB / 0.7756 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006306/0.7745, allocations: 310.8 kB / 0.7759 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=37): time 1.943e-06/0.7745, allocations: 0 / 0.7759 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of matching and sorting (n=37): time 0.001844/0.7764, allocations: 0.7362 MB / 0.7767 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.7764, allocations: 63.16 kB / 0.7767 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005689/0.777, allocations: 494.1 kB / 0.7772 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.793e-05/0.777, allocations: 33.7 kB / 0.7772 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002059/0.7773, allocations: 264 kB / 0.7775 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.7774, allocations: 118.3 kB / 0.7776 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.17e-05/0.7775, allocations: 49.69 kB / 0.7776 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.7776, allocations: 366.7 kB / 0.778 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005241/0.7781, allocations: 212.8 kB / 0.7782 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006005/0.7788, allocations: 336.1 kB / 0.7785 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00116/0.7799, allocations: 0.5774 MB / 0.7791 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.401e-06/0.7799, allocations: 4 kB / 0.7791 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001449/0.7814, allocations: 0.6805 MB / 0.7797 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.271e-05/0.7815, allocations: 69.27 kB / 0.7798 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.7815, allocations: 4 kB / 0.7798 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.7815, allocations: 4 kB / 0.7798 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004779/0.782, allocations: 108.2 kB / 0.7799 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.782, allocations: 7.938 kB / 0.7799 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005847/0.7826, allocations: 91.39 kB / 0.78 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.456e-05/0.7827, allocations: 27.98 kB / 0.78 GB, free: 6.137 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.0002538/0.7829, allocations: 193.6 kB / 0.7802 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.14e-05/0.783, allocations: 55.34 kB / 0.7803 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001333/0.7844, allocations: 0.5692 MB / 0.7808 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.7844, allocations: 4 kB / 0.7808 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.7844, allocations: 0 / 0.7808 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.7844, allocations: 0 / 0.7808 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002278/0.7867, allocations: 1.387 MB / 0.7822 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.7867, allocations: 4 kB / 0.7822 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004109/0.7871, allocations: 80.33 kB / 0.7823 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.7871, allocations: 8 kB / 0.7823 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.401e-05/0.7872, allocations: 15.98 kB / 0.7823 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/0.7872, allocations: 4 kB / 0.7823 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.7872, allocations: 7.938 kB / 0.7823 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00176/0.789, allocations: 0.9841 MB / 0.7833 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002355/0.7892, allocations: 172.3 kB / 0.7834 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.949e-05/0.7893, allocations: 8 kB / 0.7834 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004949/0.7898, allocations: 63.91 kB / 0.7835 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/0.79, allocations: 47.83 kB / 0.7836 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.221e-05/0.79, allocations: 19.98 kB / 0.7836 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004337/0.7904, allocations: 346.8 kB / 0.7839 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.61e-07/0.7904, allocations: 4 kB / 0.7839 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006224/0.7911, allocations: 147.8 kB / 0.784 GB, free: 1.836 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.0004862/0.7916, allocations: 201 kB / 0.7842 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001339/0.7929, allocations: 0.608 MB / 0.7848 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.7929, allocations: 4 kB / 0.7848 GB, free: 1.004 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007144/0.7937, allocations: 308 kB / 0.7851 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001647/0.7953, allocations: 277.8 kB / 0.7854 GB, free: 452 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002048/0.7974, allocations: 1.243 MB / 0.7866 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004597/0.7978, allocations: 0.8668 MB / 0.7875 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0005252/0.7984, allocations: 128.7 kB / 0.7876 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/0.7985, allocations: 47.42 kB / 0.7876 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of SimCode: time 6.51e-07/0.7985, allocations: 0 / 0.7876 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of Templates: time 0.01813/0.8167, allocations: 10.15 MB / 0.7975 GB, free: 4.082 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)