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.001625/0.001625, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5324/0.5324, allocations: 90.91 MB / 99.34 MB, free: 2.145 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.558/1.558, allocations: 221.5 MB / 343.2 MB, free: 1.578 MB / 266.7 MB 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: 102.8 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.829e-05/2.864e-05, allocations: 4 kB / 494.6 MB, free: 52.31 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.1886, allocations: 72.31 MB / 0.5536 GB, free: 12.19 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.576/4.765, allocations: 1.821 GB / 2.375 GB, free: 83.08 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/4.765, allocations: 83.27 kB / 2.375 GB, free: 83.04 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.624/6.389, allocations: 424.8 MB / 2.79 GB, free: 129.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.603e-06/6.389, allocations: 2.656 kB / 2.79 GB, free: 129.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.21e-05/6.389, allocations: 18.39 kB / 2.79 GB, free: 129.3 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.002586/6.392, allocations: 0.9908 MB / 2.791 GB, free: 128.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/6.392, allocations: 10.66 kB / 2.791 GB, free: 128.7 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002088/6.394, allocations: 278.3 kB / 2.791 GB, free: 128.6 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008652/6.395, allocations: 462.1 kB / 2.791 GB, free: 128.3 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/6.395, allocations: 14.75 kB / 2.791 GB, free: 128.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.299e-05/6.395, allocations: 29.02 kB / 2.791 GB, free: 128.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005712/6.396, allocations: 317 kB / 2.792 GB, free: 128.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006526/6.396, allocations: 447.2 kB / 2.792 GB, free: 128 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/6.396, allocations: 0 / 2.792 GB, free: 128 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.019e-05/6.396, allocations: 3.219 kB / 2.792 GB, free: 128 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/6.396, allocations: 9.562 kB / 2.792 GB, free: 128 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.002368/6.399, allocations: 2.025 MB / 2.794 GB, free: 126.6 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004969/6.399, allocations: 316.8 kB / 2.794 GB, free: 126.4 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002045/6.399, allocations: 159.8 kB / 2.795 GB, free: 126.4 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005334/6.4, allocations: 397.9 kB / 2.795 GB, free: 126 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003078/6.4, allocations: 236 kB / 2.795 GB, free: 125.9 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=37): time 2.916e-06/6.4, allocations: 3.375 kB / 2.795 GB, free: 125.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=37): time 0.001066/6.401, allocations: 450 kB / 2.796 GB, free: 125.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.565e-05/6.401, allocations: 57.16 kB / 2.796 GB, free: 125.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002811/6.402, allocations: 314 kB / 2.796 GB, free: 125.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.922e-05/6.402, allocations: 28.66 kB / 2.796 GB, free: 125.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/6.402, allocations: 267.5 kB / 2.796 GB, free: 125.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.51e-05/6.402, allocations: 124.3 kB / 2.796 GB, free: 125.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.38e-05/6.402, allocations: 0 / 2.796 GB, free: 125.2 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.986e-05/6.402, allocations: 356.6 kB / 2.797 GB, free: 124.9 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001989/6.402, allocations: 140.8 kB / 2.797 GB, free: 124.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002684/6.403, allocations: 261.4 kB / 2.797 GB, free: 124.6 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004417/6.403, allocations: 222.7 kB / 2.797 GB, free: 124.6 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/6.403, allocations: 3.969 kB / 2.797 GB, free: 124.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008217/6.404, allocations: 0.4964 MB / 2.798 GB, free: 124.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.968e-05/6.404, allocations: 58.94 kB / 2.798 GB, free: 124.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/6.404, allocations: 7.078 kB / 2.798 GB, free: 124.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/6.404, allocations: 11.66 kB / 2.798 GB, free: 124.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004483/6.404, allocations: 107.9 kB / 2.798 GB, free: 124.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/6.404, allocations: 11.19 kB / 2.798 GB, free: 124.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005367/6.405, allocations: 79.45 kB / 2.798 GB, free: 124.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.627e-05/6.405, allocations: 22.59 kB / 2.798 GB, free: 124.3 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.0001092/6.405, allocations: 118.7 kB / 2.798 GB, free: 124.2 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006618/6.406, allocations: 412.7 kB / 2.799 GB, free: 124 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.492e-05/6.406, allocations: 52.25 kB / 2.799 GB, free: 124 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008729/6.407, allocations: 465 kB / 2.799 GB, free: 123.8 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/6.407, allocations: 3.844 kB / 2.799 GB, free: 123.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/6.407, allocations: 3.625 kB / 2.799 GB, free: 123.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/6.407, allocations: 3.422 kB / 2.799 GB, free: 123.8 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00169/6.409, allocations: 1.196 MB / 2.8 GB, free: 123.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/6.409, allocations: 2.969 kB / 2.8 GB, free: 123.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003982/6.409, allocations: 78.89 kB / 2.8 GB, free: 123.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.695e-06/6.409, allocations: 8.375 kB / 2.8 GB, free: 123.2 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.32e-05/6.409, allocations: 11.81 kB / 2.8 GB, free: 123.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/6.409, allocations: 11.61 kB / 2.8 GB, free: 123.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/6.409, allocations: 7.859 kB / 2.8 GB, free: 123.2 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/6.41, allocations: 0.9653 MB / 2.801 GB, free: 122.4 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000169/6.41, allocations: 162.8 kB / 2.801 GB, free: 122.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.999e-05/6.41, allocations: 11.77 kB / 2.801 GB, free: 122.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004694/6.411, allocations: 49.84 kB / 2.801 GB, free: 122.3 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/6.411, allocations: 55.12 kB / 2.802 GB, free: 122.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.677e-05/6.411, allocations: 10.47 kB / 2.802 GB, free: 122.3 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001889/6.411, allocations: 237.3 kB / 2.802 GB, free: 122.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/6.411, allocations: 0 / 2.802 GB, free: 122.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0008091/6.412, allocations: 252.6 kB / 2.802 GB, free: 122.1 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.003272/6.415, allocations: 4.031 MB / 2.806 GB, free: 119.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005847/6.416, allocations: 475.1 kB / 2.806 GB, free: 119.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/6.416, allocations: 0 / 2.806 GB, free: 119.3 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003555/6.416, allocations: 229.6 kB / 2.807 GB, free: 119.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009603/6.417, allocations: 195.4 kB / 2.807 GB, free: 119.1 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001652/6.419, allocations: 0.8858 MB / 2.808 GB, free: 118.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/6.419, allocations: 0.8828 MB / 2.809 GB, free: 117.9 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004265/6.42, allocations: 106.1 kB / 2.809 GB, free: 117.9 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002231/6.42, allocations: 174 kB / 2.809 GB, free: 117.7 MB / 0.6042 GB Notification: Performance of SimCode: time 1.042e-06/6.42, allocations: 0 / 2.809 GB, free: 117.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04211/6.462, allocations: 22.74 MB / 2.831 GB, free: 98.21 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000159/6.462, allocations: 172.1 kB / 2.831 GB, free: 98.01 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.856/9.318, allocations: 0 / 2.831 GB, free: 98.01 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)