Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6865/0.6865, allocations: 141.7 MB / 154.3 MB, free: 15.5 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009482/0.0009482, allocations: 183.8 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.194/1.194, allocations: 221.3 MB / 441.4 MB, free: 4.598 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008061/0.0008061, allocations: 98.92 kB / 0.5124 GB, free: 24.25 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001652/0.001652, allocations: 284 kB / 0.5939 GB, free: 7.957 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.725e-05/2.727e-05, allocations: 4 kB / 0.6835 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3172, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.33/3.647, allocations: 1.829 GB / 2.593 GB, free: 178.1 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002204/3.647, allocations: 94.38 kB / 2.593 GB, free: 178.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.026/4.674, allocations: 430.1 MB / 3.013 GB, free: 29.59 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.032e-06/4.674, allocations: 224 / 3.013 GB, free: 29.59 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.374e-05/4.674, allocations: 27.92 kB / 3.013 GB, free: 29.57 MB / 0.698 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.001521/4.675, allocations: 0.9882 MB / 3.014 GB, free: 28.52 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/4.675, allocations: 8.031 kB / 3.014 GB, free: 28.52 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.45e-05/4.675, allocations: 78.53 kB / 3.014 GB, free: 28.43 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00172/4.677, allocations: 282.9 kB / 3.014 GB, free: 28.15 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006511/4.678, allocations: 457.5 kB / 3.015 GB, free: 27.66 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.539e-05/4.678, allocations: 48.86 kB / 3.015 GB, free: 27.62 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.677e-05/4.678, allocations: 44 kB / 3.015 GB, free: 27.57 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006181/4.679, allocations: 499.7 kB / 3.015 GB, free: 27.05 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/4.679, allocations: 3.938 kB / 3.015 GB, free: 27.05 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.854e-05/4.679, allocations: 16 kB / 3.016 GB, free: 27.03 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/4.679, allocations: 12 kB / 3.016 GB, free: 27.02 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004654/4.679, allocations: 350.9 kB / 3.016 GB, free: 26.68 MB / 0.698 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.002233/4.681, allocations: 2.138 MB / 3.018 GB, free: 24.41 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005603/4.682, allocations: 322.5 kB / 3.018 GB, free: 24.08 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002555/4.682, allocations: 180.7 kB / 3.018 GB, free: 23.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005339/4.683, allocations: 396.3 kB / 3.019 GB, free: 23.44 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003654/4.683, allocations: 243.8 kB / 3.019 GB, free: 23.19 MB / 0.698 GB Notification: Performance of pre-optimization done (n=37): time 2.625e-06/4.683, allocations: 0 / 3.019 GB, free: 23.19 MB / 0.698 GB Notification: Performance of matching and sorting (n=37): time 0.0009211/4.684, allocations: 420.4 kB / 3.019 GB, free: 22.77 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/4.684, allocations: 55.41 kB / 3.019 GB, free: 22.71 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004068/4.684, allocations: 427.9 kB / 3.02 GB, free: 22.28 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.028e-05/4.685, allocations: 33.7 kB / 3.02 GB, free: 22.24 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/4.685, allocations: 260.4 kB / 3.02 GB, free: 21.98 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.419e-05/4.685, allocations: 126.2 kB / 3.02 GB, free: 21.86 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-05/4.685, allocations: 12 kB / 3.02 GB, free: 21.84 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.466e-05/4.685, allocations: 362.8 kB / 3.021 GB, free: 21.48 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002581/4.685, allocations: 145 kB / 3.021 GB, free: 21.34 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003165/4.685, allocations: 282.7 kB / 3.021 GB, free: 21.01 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003028/4.686, allocations: 232.7 kB / 3.021 GB, free: 20.77 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/4.686, allocations: 0 / 3.021 GB, free: 20.77 MB / 0.698 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007886/4.687, allocations: 0.5506 MB / 3.022 GB, free: 20.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.601e-05/4.687, allocations: 64.88 kB / 3.022 GB, free: 20.13 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/4.687, allocations: 11.98 kB / 3.022 GB, free: 20.12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/4.687, allocations: 4 kB / 3.022 GB, free: 20.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005028/4.687, allocations: 99.83 kB / 3.022 GB, free: 20.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/4.687, allocations: 7.984 kB / 3.022 GB, free: 20.01 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006247/4.688, allocations: 99.33 kB / 3.022 GB, free: 19.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.979e-05/4.688, allocations: 23.98 kB / 3.022 GB, free: 19.89 MB / 0.698 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.0001021/4.688, allocations: 136.9 kB / 3.022 GB, free: 19.75 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.172e-05/4.688, allocations: 59.3 kB / 3.022 GB, free: 19.69 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007929/4.689, allocations: 446.4 kB / 3.023 GB, free: 19.24 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/4.689, allocations: 4 kB / 3.023 GB, free: 19.24 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/4.689, allocations: 3.984 kB / 3.023 GB, free: 19.23 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/4.689, allocations: 0 / 3.023 GB, free: 19.23 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001664/4.691, allocations: 1.245 MB / 3.024 GB, free: 17.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/4.691, allocations: 4 kB / 3.024 GB, free: 17.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004415/4.691, allocations: 83.89 kB / 3.024 GB, free: 17.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/4.691, allocations: 7.984 kB / 3.024 GB, free: 17.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.438e-05/4.691, allocations: 19.88 kB / 3.024 GB, free: 17.78 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.602e-06/4.691, allocations: 15.94 kB / 3.024 GB, free: 17.76 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/4.691, allocations: 8.125 kB / 3.024 GB, free: 17.75 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009772/4.692, allocations: 0.9474 MB / 3.025 GB, free: 16.66 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001818/4.692, allocations: 168.3 kB / 3.025 GB, free: 16.47 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.903e-05/4.692, allocations: 12 kB / 3.025 GB, free: 16.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005327/4.693, allocations: 56 kB / 3.025 GB, free: 16.41 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/4.693, allocations: 51.83 kB / 3.025 GB, free: 16.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.163e-05/4.693, allocations: 16 kB / 3.025 GB, free: 16.34 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003175/4.693, allocations: 333.5 kB / 3.026 GB, free: 16.02 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.7e-07/4.693, allocations: 0 / 3.026 GB, free: 16.02 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009652/4.694, allocations: 287.8 kB / 3.026 GB, free: 15.73 MB / 0.698 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.002918/4.697, allocations: 3.828 MB / 3.03 GB, free: 11.73 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006814/4.698, allocations: 0.4908 MB / 3.03 GB, free: 11.21 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/4.698, allocations: 0 / 3.03 GB, free: 11.21 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004304/4.698, allocations: 235.7 kB / 3.03 GB, free: 10.98 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001388/4.7, allocations: 274.3 kB / 3.031 GB, free: 10.72 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001534/4.701, allocations: 0.9501 MB / 3.032 GB, free: 9.688 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002104/4.702, allocations: 0.8785 MB / 3.032 GB, free: 8.781 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004368/4.702, allocations: 120.7 kB / 3.033 GB, free: 8.664 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002139/4.702, allocations: 183.3 kB / 3.033 GB, free: 8.484 MB / 0.698 GB Notification: Performance of SimCode: time 3.5e-07/4.702, allocations: 0 / 3.033 GB, free: 8.484 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3751/5.077, allocations: 41.13 MB / 3.073 GB, free: 142.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000143/5.078, allocations: 199.7 kB / 3.073 GB, free: 141.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.07/8.148, allocations: 2.906 kB / 3.073 GB, free: 141.9 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)