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.001246/0.001246, allocations: 103.3 kB / 16.27 MB, free: 5.961 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.001146/0.001146, allocations: 188.2 kB / 17.19 MB, free: 5.594 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.36/1.36, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8197/0.8197, allocations: 135.1 MB / 426.2 MB, free: 4.156 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 67.89 kB / 0.506 GB, free: 8.375 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3964/0.3979, allocations: 80.91 MB / 0.585 GB, free: 25.48 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5565/0.9545, allocations: 181.7 MB / 0.7625 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006524/0.9611, allocations: 4.443 MB / 0.7668 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007453/0.9619, allocations: 26.38 kB / 0.7669 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007956/0.9627, allocations: 250.2 kB / 0.7671 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001967/0.9647, allocations: 0.7544 MB / 0.7678 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004034/0.9688, allocations: 1.515 MB / 0.7693 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002168/0.9709, allocations: 1.259 MB / 0.7705 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008763/0.9718, allocations: 452.9 kB / 0.771 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001242/0.9731, allocations: 0.573 MB / 0.7715 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005167/0.9736, allocations: 407.3 kB / 0.7719 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.212e-05/0.9737, allocations: 48.44 kB / 0.772 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003193/0.9769, allocations: 1.534 MB / 0.7735 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002112/0.9771, allocations: 188.5 kB / 0.7736 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003712/0.9775, allocations: 305.7 kB / 0.7739 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002538/0.98, allocations: 1.297 MB / 0.7752 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.9801, allocations: 0.7812 kB / 0.7752 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.122e-06/0.9801, allocations: 4.375 kB / 0.7752 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.758e-06/0.9801, allocations: 0.875 kB / 0.7752 GB, free: 1.43 MB / 0.5762 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.002013/0.9821, allocations: 1.022 MB / 0.7762 GB, free: 16.76 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.9822, allocations: 12.48 kB / 0.7762 GB, free: 16.76 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002042/0.9842, allocations: 281.2 kB / 0.7765 GB, free: 16.73 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007533/0.985, allocations: 443.6 kB / 0.7769 GB, free: 16.47 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.23e-05/0.985, allocations: 33.56 kB / 0.7769 GB, free: 16.47 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.689e-05/0.9851, allocations: 44.47 kB / 0.777 GB, free: 16.47 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009293/0.986, allocations: 0.547 MB / 0.7775 GB, free: 16.36 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.9861, allocations: 3.094 kB / 0.7775 GB, free: 16.36 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.836e-05/0.9861, allocations: 19.25 kB / 0.7775 GB, free: 16.35 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.685e-05/0.9861, allocations: 17.39 kB / 0.7776 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009824/0.9871, allocations: 462.2 kB / 0.778 GB, free: 16.34 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.002531/0.9897, allocations: 2.128 MB / 0.7801 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009219/0.9906, allocations: 406.5 kB / 0.7805 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004458/0.9911, allocations: 228.4 kB / 0.7807 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006766/0.9917, allocations: 400 kB / 0.7811 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005788/0.9923, allocations: 290.6 kB / 0.7813 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=37): time 2.816e-06/0.9923, allocations: 0 / 0.7813 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37): time 0.001685/0.994, allocations: 0.6921 MB / 0.782 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.9941, allocations: 54.22 kB / 0.7821 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005299/0.9946, allocations: 0.493 MB / 0.7826 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.79e-05/0.9947, allocations: 32.98 kB / 0.7826 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/0.9949, allocations: 262.4 kB / 0.7828 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.571e-05/0.995, allocations: 125.6 kB / 0.783 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001535/0.9952, allocations: 92.42 kB / 0.783 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.9953, allocations: 365.2 kB / 0.7834 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004904/0.9958, allocations: 199.2 kB / 0.7836 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005623/0.9964, allocations: 317.3 kB / 0.7839 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009779/0.9974, allocations: 0.5398 MB / 0.7844 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/0.9974, allocations: 3.594 kB / 0.7844 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00125/0.9987, allocations: 0.6578 MB / 0.7851 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.244e-05/0.9987, allocations: 62.53 kB / 0.7851 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.9987, allocations: 3.062 kB / 0.7851 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/0.9988, allocations: 6.594 kB / 0.7851 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004509/0.9992, allocations: 94.16 kB / 0.7852 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.468e-05/0.9993, allocations: 10.09 kB / 0.7852 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005959/0.9999, allocations: 78.92 kB / 0.7853 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.972e-05/0.9999, allocations: 20.09 kB / 0.7853 GB, free: 13.29 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.0002657/1, allocations: 202.5 kB / 0.7855 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.726e-05/1, allocations: 50.91 kB / 0.7856 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001167/1.001, allocations: 0.5391 MB / 0.7861 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/1.001, allocations: 6.062 kB / 0.7861 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/1.001, allocations: 0 / 0.7861 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.311e-06/1.001, allocations: 5.25 kB / 0.7861 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002248/1.004, allocations: 1.348 MB / 0.7874 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/1.004, allocations: 9.531 kB / 0.7874 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003995/1.004, allocations: 78.14 kB / 0.7875 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.195e-06/1.004, allocations: 5.625 kB / 0.7875 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.65e-05/1.004, allocations: 18.39 kB / 0.7875 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/1.004, allocations: 3.219 kB / 0.7875 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/1.004, allocations: 8.812 kB / 0.7875 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001616/1.006, allocations: 0.9316 MB / 0.7884 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002634/1.006, allocations: 177.5 kB / 0.7886 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/1.006, allocations: 11.5 kB / 0.7886 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004881/1.007, allocations: 35.2 kB / 0.7887 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/1.007, allocations: 54.61 kB / 0.7887 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.381e-05/1.007, allocations: 14.91 kB / 0.7887 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003811/1.007, allocations: 344.6 kB / 0.789 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.81e-07/1.007, allocations: 1.062 kB / 0.7891 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006644/1.008, allocations: 156.2 kB / 0.7892 GB, free: 12.14 MB / 0.5919 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.0005022/1.009, allocations: 194.9 kB / 0.7894 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001236/1.01, allocations: 0.6069 MB / 0.79 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/1.01, allocations: 0 / 0.79 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005894/1.01, allocations: 260.4 kB / 0.7902 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001465/1.012, allocations: 289.8 kB / 0.7905 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001914/1.014, allocations: 1.084 MB / 0.7916 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005468/1.014, allocations: 0.8654 MB / 0.7924 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000188/1.015, allocations: 48.5 kB / 0.7925 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of SimCode: time 9.62e-07/1.015, allocations: 0.8125 kB / 0.7925 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of Templates: time 0.01493/1.03, allocations: 9.019 MB / 0.8013 GB, free: 9.805 MB / 0.5919 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)