Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 179.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4639/0.4639, allocations: 90.81 MB / 104.5 MB, free: 9.789 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.271/1.271, allocations: 221.3 MB / 348.3 MB, free: 448 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008835/0.0008834, allocations: 96.81 kB / 421.2 MB, free: 5.477 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.173e-05/3.184e-05, allocations: 4 kB / 0.4897 GB, free: 5.262 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3817/0.3817, allocations: 72.3 MB / 0.5603 GB, free: 40.42 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.819/4.201, allocations: 1.822 GB / 2.382 GB, free: 206.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002197/4.201, allocations: 85.95 kB / 2.382 GB, free: 206.1 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.011/5.212, allocations: 430 MB / 2.802 GB, free: 6.68 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.092e-06/5.212, allocations: 0 / 2.802 GB, free: 6.68 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.641e-05/5.213, allocations: 19.98 kB / 2.802 GB, free: 6.66 MB / 0.6042 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.001795/5.214, allocations: 0.9876 MB / 2.803 GB, free: 5.617 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/5.214, allocations: 15.98 kB / 2.803 GB, free: 5.602 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.141e-05/5.214, allocations: 74.53 kB / 2.803 GB, free: 5.52 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001792/5.216, allocations: 290.9 kB / 2.803 GB, free: 5.234 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007172/5.217, allocations: 460.1 kB / 2.804 GB, free: 4.742 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.713e-05/5.217, allocations: 36.98 kB / 2.804 GB, free: 4.707 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.548e-05/5.217, allocations: 40 kB / 2.804 GB, free: 4.668 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000658/5.218, allocations: 0.4957 MB / 2.804 GB, free: 4.137 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/5.218, allocations: 3.938 kB / 2.804 GB, free: 4.133 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.978e-05/5.218, allocations: 16 kB / 2.804 GB, free: 4.117 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/5.218, allocations: 12 kB / 2.804 GB, free: 4.105 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00049/5.218, allocations: 354.9 kB / 2.805 GB, free: 3.758 MB / 0.6042 GB Warning: The model contains alias variables with conflicting start and/or 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.002059/5.22, allocations: 2.134 MB / 2.807 GB, free: 1.492 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004968/5.221, allocations: 322.6 kB / 2.807 GB, free: 1.168 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002131/5.221, allocations: 177.4 kB / 2.807 GB, free: 0.9922 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004963/5.222, allocations: 392.3 kB / 2.808 GB, free: 0.5352 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003107/5.222, allocations: 246.7 kB / 2.808 GB, free: 288 kB / 0.6042 GB Notification: Performance of pre-optimization done (n=37): time 2.034e-06/5.222, allocations: 0 / 2.808 GB, free: 288 kB / 0.6042 GB Notification: Performance of matching and sorting (n=37): time 0.3352/5.557, allocations: 417.8 kB / 2.808 GB, free: 116.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/5.557, allocations: 61.06 kB / 2.808 GB, free: 116.1 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006568/5.558, allocations: 420 kB / 2.809 GB, free: 116 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.243e-05/5.558, allocations: 42.17 kB / 2.809 GB, free: 116 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001829/5.558, allocations: 257.1 kB / 2.809 GB, free: 115.9 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.399e-05/5.558, allocations: 127.7 kB / 2.809 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.25e-05/5.558, allocations: 7.875 kB / 2.809 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.415e-05/5.558, allocations: 367.3 kB / 2.81 GB, free: 115.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002315/5.559, allocations: 146.8 kB / 2.81 GB, free: 115.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003222/5.559, allocations: 282.1 kB / 2.81 GB, free: 115.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002978/5.559, allocations: 230.8 kB / 2.81 GB, free: 115.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/5.559, allocations: 0 / 2.81 GB, free: 115.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007505/5.56, allocations: 0.5514 MB / 2.811 GB, free: 115.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.971e-05/5.56, allocations: 63.56 kB / 2.811 GB, free: 115.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/5.56, allocations: 3.875 kB / 2.811 GB, free: 115.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/5.56, allocations: 3.875 kB / 2.811 GB, free: 115.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004644/5.561, allocations: 109 kB / 2.811 GB, free: 115.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/5.561, allocations: 6.812 kB / 2.811 GB, free: 115.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005599/5.561, allocations: 92.75 kB / 2.811 GB, free: 115.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.906e-05/5.561, allocations: 27.59 kB / 2.811 GB, free: 115.1 MB / 0.6042 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 ($whenCondition2,$whenCondition1,$PRE.m_flow1.T_start,m_flow1.T_start,$PRE.m_flow1.count,m_flow1.count,$PRE.m_flow2.T_start,m_flow2.T_start,$PRE.m_flow2.count,m_flow2.count) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001018/5.561, allocations: 133.4 kB / 2.811 GB, free: 115 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.623e-05/5.562, allocations: 54.05 kB / 2.811 GB, free: 115 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008293/5.562, allocations: 458.7 kB / 2.812 GB, free: 114.9 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/5.562, allocations: 3.438 kB / 2.812 GB, free: 114.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/5.562, allocations: 1.031 kB / 2.812 GB, free: 114.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/5.562, allocations: 5.875 kB / 2.812 GB, free: 114.9 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001831/5.564, allocations: 1.235 MB / 2.813 GB, free: 114.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/5.564, allocations: 6.75 kB / 2.813 GB, free: 114.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004196/5.565, allocations: 84.28 kB / 2.813 GB, free: 114.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.283e-06/5.565, allocations: 4.562 kB / 2.813 GB, free: 114.5 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.347e-05/5.565, allocations: 14.78 kB / 2.813 GB, free: 114.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.192e-06/5.565, allocations: 9.719 kB / 2.813 GB, free: 114.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/5.565, allocations: 7.984 kB / 2.813 GB, free: 114.5 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/5.566, allocations: 0.9495 MB / 2.814 GB, free: 114 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001704/5.566, allocations: 173.2 kB / 2.814 GB, free: 113.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.16e-05/5.566, allocations: 12.45 kB / 2.814 GB, free: 113.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004441/5.567, allocations: 54.72 kB / 2.814 GB, free: 113.9 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/5.567, allocations: 52.41 kB / 2.814 GB, free: 113.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.97e-05/5.567, allocations: 20.91 kB / 2.814 GB, free: 113.9 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003245/5.567, allocations: 333.8 kB / 2.815 GB, free: 113.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.71e-07/5.567, allocations: 0 / 2.815 GB, free: 113.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009024/5.568, allocations: 291.8 kB / 2.815 GB, free: 113.8 MB / 0.6042 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002858/5.571, allocations: 3.824 MB / 2.819 GB, free: 111.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006003/5.571, allocations: 0.4899 MB / 2.819 GB, free: 111.4 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/5.571, allocations: 3 kB / 2.819 GB, free: 111.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003597/5.572, allocations: 245.8 kB / 2.819 GB, free: 111.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001195/5.573, allocations: 267.5 kB / 2.82 GB, free: 111.4 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/5.575, allocations: 0.9573 MB / 2.82 GB, free: 111 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/5.575, allocations: 0.8817 MB / 2.821 GB, free: 110.3 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000442/5.575, allocations: 121.7 kB / 2.821 GB, free: 110.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002282/5.576, allocations: 176.4 kB / 2.822 GB, free: 110.3 MB / 0.6042 GB Notification: Performance of SimCode: time 2.91e-07/5.576, allocations: 0 / 2.822 GB, free: 110.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0567/5.632, allocations: 41.11 MB / 2.862 GB, free: 109.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001443/5.632, allocations: 189.1 kB / 2.862 GB, free: 109.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.122/8.755, allocations: 0 / 2.862 GB, free: 109.5 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)