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: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 98.27 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.004688/0.004688, allocations: 173.2 kB / 16.27 MB, free: 6.66 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.28/1.28, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7368/0.7368, allocations: 132.3 MB / 423.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003111/0.0003111, allocations: 8.562 kB / 0.5041 GB, free: 3.816 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.379/0.3793, allocations: 81.57 MB / 0.5837 GB, free: 4.059 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1722/0.5516, allocations: 177.2 MB / 0.7568 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005508/0.5571, allocations: 4.424 MB / 0.7611 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004122/0.5576, allocations: 23.88 kB / 0.7611 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005438/0.5581, allocations: 190.7 kB / 0.7613 GB, free: 10 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001585/0.5597, allocations: 0.7156 MB / 0.762 GB, free: 9.285 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003156/0.5629, allocations: 1.411 MB / 0.7634 GB, free: 7.879 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001632/0.5645, allocations: 1.687 MB / 0.765 GB, free: 6.184 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004943/0.565, allocations: 377.7 kB / 0.7654 GB, free: 5.809 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008387/0.5659, allocations: 0.5135 MB / 0.7659 GB, free: 5.293 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000462/0.5664, allocations: 406.3 kB / 0.7663 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.958e-05/0.5664, allocations: 28 kB / 0.7663 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002704/0.5692, allocations: 1.808 MB / 0.7681 GB, free: 3.055 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001727/0.5693, allocations: 175.4 kB / 0.7682 GB, free: 2.883 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000265/0.5696, allocations: 312.2 kB / 0.7685 GB, free: 2.57 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001564/0.5712, allocations: 1.371 MB / 0.7699 GB, free: 1.195 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.5712, allocations: 0 / 0.7699 GB, free: 1.195 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5712, allocations: 0 / 0.7699 GB, free: 1.195 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.5712, allocations: 0 / 0.7699 GB, free: 1.195 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.001485/0.5727, allocations: 0.9241 MB / 0.7708 GB, free: 216 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.5728, allocations: 8.031 kB / 0.7708 GB, free: 208 kB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.485e-05/0.5728, allocations: 82.47 kB / 0.7709 GB, free: 116 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001894/0.5747, allocations: 290.9 kB / 0.7711 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006303/0.5754, allocations: 441.5 kB / 0.7716 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.5754, allocations: 29 kB / 0.7716 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.816e-05/0.5755, allocations: 44 kB / 0.7716 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009686/0.5765, allocations: 0.5702 MB / 0.7722 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.5765, allocations: 4 kB / 0.7722 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.275e-05/0.5766, allocations: 16 kB / 0.7722 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.5766, allocations: 8 kB / 0.7722 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001042/0.5776, allocations: 491.5 kB / 0.7727 GB, free: 14.18 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.002307/0.5799, allocations: 2.131 MB / 0.7748 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009543/0.5809, allocations: 450.3 kB / 0.7752 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004898/0.5814, allocations: 236.7 kB / 0.7754 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006373/0.5821, allocations: 412.3 kB / 0.7758 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006157/0.5827, allocations: 306.9 kB / 0.7761 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=37): time 2.184e-06/0.5827, allocations: 0 / 0.7761 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of matching and sorting (n=37): time 0.00174/0.5844, allocations: 0.7361 MB / 0.7768 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.5845, allocations: 63.16 kB / 0.7769 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005112/0.585, allocations: 494.1 kB / 0.7774 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.141e-05/0.5851, allocations: 37.7 kB / 0.7774 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001687/0.5852, allocations: 268 kB / 0.7776 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.449e-05/0.5853, allocations: 118.3 kB / 0.7778 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.604e-05/0.5854, allocations: 45.7 kB / 0.7778 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.5855, allocations: 366.7 kB / 0.7782 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004905/0.586, allocations: 216.8 kB / 0.7784 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005709/0.5866, allocations: 328.1 kB / 0.7787 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001008/0.5876, allocations: 0.5774 MB / 0.7792 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.217e-06/0.5877, allocations: 4 kB / 0.7792 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001246/0.5889, allocations: 0.6806 MB / 0.7799 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.514e-05/0.589, allocations: 67.62 kB / 0.78 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.589, allocations: 8 kB / 0.78 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.589, allocations: 4 kB / 0.78 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004495/0.5894, allocations: 103.9 kB / 0.7801 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.5895, allocations: 4 kB / 0.7801 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005394/0.59, allocations: 91.38 kB / 0.7802 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-05/0.5901, allocations: 24 kB / 0.7802 GB, free: 6.078 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.0002077/0.5903, allocations: 203.1 kB / 0.7804 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.679e-05/0.5904, allocations: 59.34 kB / 0.7804 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001239/0.5916, allocations: 0.5692 MB / 0.781 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.5916, allocations: 4 kB / 0.781 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.5916, allocations: 0 / 0.781 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.5916, allocations: 3.984 kB / 0.781 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002123/0.5938, allocations: 1.388 MB / 0.7824 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.5938, allocations: 4.031 kB / 0.7824 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003988/0.5942, allocations: 87.88 kB / 0.7824 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.5942, allocations: 4 kB / 0.7825 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.204e-05/0.5942, allocations: 12 kB / 0.7825 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.5943, allocations: 4 kB / 0.7825 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.5943, allocations: 7.938 kB / 0.7825 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001696/0.596, allocations: 0.9841 MB / 0.7834 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001853/0.5962, allocations: 168.3 kB / 0.7836 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.757e-05/0.5963, allocations: 11.98 kB / 0.7836 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004721/0.5967, allocations: 55.92 kB / 0.7837 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.5969, allocations: 55.81 kB / 0.7837 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.929e-05/0.5969, allocations: 16 kB / 0.7837 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003758/0.5973, allocations: 346.8 kB / 0.7841 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5973, allocations: 3.938 kB / 0.7841 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005366/0.5978, allocations: 151.8 kB / 0.7842 GB, free: 1.762 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.002214/0.6001, allocations: 1.626 MB / 0.7858 GB, free: 80 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001148/0.6012, allocations: 0.604 MB / 0.7864 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.6012, allocations: 0.5625 kB / 0.7864 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006639/0.6019, allocations: 312.5 kB / 0.7867 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001601/0.6035, allocations: 276.4 kB / 0.7869 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007022/0.6105, allocations: 5.36 MB / 0.7922 GB, free: 9.273 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00036/0.6109, allocations: 0.8704 MB / 0.793 GB, free: 8.375 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000494/0.6114, allocations: 124.7 kB / 0.7932 GB, free: 8.25 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002637/0.6117, allocations: 179.4 kB / 0.7933 GB, free: 8.074 MB / 0.6231 GB Notification: Performance of SimCode: time 4.81e-07/0.6117, allocations: 0 / 0.7933 GB, free: 8.074 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5334/1.145, allocations: 14.83 MB / 0.8078 GB, free: 9.559 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000301/1.145, allocations: 226.2 kB / 0.808 GB, free: 9.309 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.289/3.435, allocations: 3.5 kB / 0.808 GB, free: 9.309 MB / 0.6387 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)