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.001097/0.001097, allocations: 107.5 kB / 16.37 MB, free: 6.48 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.001162/0.001162, allocations: 195.8 kB / 17.31 MB, free: 5.82 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.279/1.279, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7949/0.7949, allocations: 135.1 MB / 426.3 MB, free: 4.176 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 59.91 kB / 0.5067 GB, free: 7.719 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.3662, allocations: 80.92 MB / 0.5858 GB, free: 25.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.4894/0.8557, allocations: 181.8 MB / 0.7633 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008201/0.8639, allocations: 4.448 MB / 0.7676 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008096/0.8648, allocations: 21.69 kB / 0.7676 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007669/0.8656, allocations: 248.5 kB / 0.7679 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002167/0.8678, allocations: 0.7546 MB / 0.7686 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004512/0.8724, allocations: 1.526 MB / 0.7701 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002425/0.8748, allocations: 1.255 MB / 0.7713 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008626/0.8757, allocations: 452.9 kB / 0.7717 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001364/0.8771, allocations: 0.5729 MB / 0.7723 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006081/0.8777, allocations: 406.9 kB / 0.7727 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001141/0.8778, allocations: 45.91 kB / 0.7727 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003167/0.881, allocations: 1.543 MB / 0.7742 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002491/0.8812, allocations: 187.2 kB / 0.7744 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004021/0.8817, allocations: 306 kB / 0.7747 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002444/0.8841, allocations: 1.313 MB / 0.776 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.8841, allocations: 1.344 kB / 0.776 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.934e-06/0.8841, allocations: 0 / 0.776 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.162e-05/0.8841, allocations: 0.5625 kB / 0.776 GB, free: 1.461 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.001923/0.8861, allocations: 1.023 MB / 0.777 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.8861, allocations: 10.92 kB / 0.777 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002003/0.8881, allocations: 289.3 kB / 0.7773 GB, free: 16.76 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008062/0.889, allocations: 465.8 kB / 0.7777 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.712e-05/0.889, allocations: 32.62 kB / 0.7778 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.251e-05/0.8891, allocations: 44.41 kB / 0.7778 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008836/0.89, allocations: 0.5564 MB / 0.7783 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.89, allocations: 0.6562 kB / 0.7783 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.973e-05/0.89, allocations: 15.78 kB / 0.7784 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.89, allocations: 15.66 kB / 0.7784 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008733/0.8909, allocations: 458.6 kB / 0.7788 GB, free: 16.38 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.002317/0.8933, allocations: 2.112 MB / 0.7809 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008411/0.8941, allocations: 406.3 kB / 0.7813 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004218/0.8945, allocations: 231.3 kB / 0.7815 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007055/0.8953, allocations: 396.7 kB / 0.7819 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005624/0.8958, allocations: 297 kB / 0.7821 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=37): time 2.335e-06/0.8958, allocations: 0.9375 kB / 0.7821 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37): time 0.001601/0.8974, allocations: 0.688 MB / 0.7828 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/0.8975, allocations: 59.06 kB / 0.7829 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005301/0.898, allocations: 496.9 kB / 0.7833 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.721e-05/0.8981, allocations: 35.23 kB / 0.7834 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/0.8983, allocations: 260.8 kB / 0.7836 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.627e-05/0.8984, allocations: 128.3 kB / 0.7838 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/0.8985, allocations: 88.38 kB / 0.7838 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.8987, allocations: 367.1 kB / 0.7842 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004236/0.8991, allocations: 191.4 kB / 0.7844 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000491/0.8996, allocations: 324.4 kB / 0.7847 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008642/0.9005, allocations: 0.5423 MB / 0.7852 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.9005, allocations: 2.5 kB / 0.7852 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001166/0.9016, allocations: 0.6568 MB / 0.7859 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.631e-05/0.9017, allocations: 66.75 kB / 0.7859 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.9017, allocations: 7.141 kB / 0.7859 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.9018, allocations: 6.656 kB / 0.7859 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004366/0.9022, allocations: 98.5 kB / 0.786 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.9022, allocations: 6.062 kB / 0.786 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005299/0.9028, allocations: 79.19 kB / 0.7861 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-05/0.9028, allocations: 23.36 kB / 0.7861 GB, free: 13.32 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.0002106/0.903, allocations: 200.8 kB / 0.7863 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.384e-05/0.9031, allocations: 58.5 kB / 0.7864 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001057/0.9042, allocations: 0.5304 MB / 0.7869 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.9042, allocations: 8.828 kB / 0.7869 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.9042, allocations: 0 / 0.7869 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.9042, allocations: 0.9062 kB / 0.7869 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002082/0.9063, allocations: 1.353 MB / 0.7882 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.9063, allocations: 7.344 kB / 0.7882 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000374/0.9067, allocations: 74.84 kB / 0.7883 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/0.9067, allocations: 5.656 kB / 0.7883 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.357e-05/0.9067, allocations: 11.22 kB / 0.7883 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.241e-06/0.9068, allocations: 12.47 kB / 0.7883 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.9068, allocations: 2.125 kB / 0.7883 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001455/0.9082, allocations: 0.9365 MB / 0.7892 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002601/0.9085, allocations: 172.9 kB / 0.7894 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.953e-05/0.9086, allocations: 15.62 kB / 0.7894 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004297/0.909, allocations: 31.27 kB / 0.7895 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.9091, allocations: 53.7 kB / 0.7895 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-05/0.9092, allocations: 23.98 kB / 0.7895 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003475/0.9095, allocations: 343.6 kB / 0.7899 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9095, allocations: 0 / 0.7899 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005878/0.9101, allocations: 149.9 kB / 0.79 GB, free: 12.17 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.0003908/0.9105, allocations: 191.2 kB / 0.7902 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001039/0.9116, allocations: 0.5931 MB / 0.7908 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.9116, allocations: 0.875 kB / 0.7908 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005929/0.9122, allocations: 287.3 kB / 0.791 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/0.9135, allocations: 291.2 kB / 0.7913 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/0.9151, allocations: 1.038 MB / 0.7923 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003501/0.9154, allocations: 0.8632 MB / 0.7932 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004036/0.9158, allocations: 126.5 kB / 0.7933 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/0.916, allocations: 45.12 kB / 0.7933 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of SimCode: time 4.61e-07/0.916, allocations: 0.9062 kB / 0.7933 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of Templates: time 0.01593/0.9319, allocations: 10.78 MB / 0.8039 GB, free: 9.133 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)