Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.159/3.159, allocations: 287.5 MB / 302.4 MB, free: 8.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001522/0.001522, allocations: 182.9 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.355/2.355, allocations: 205.4 MB / 0.6297 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001053/0.001053, allocations: 87.58 kB / 0.743 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007567/0.0007572, allocations: 14.16 kB / 0.8659 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2893, allocations: 115.3 MB / 0.9785 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 1.073/1.363, allocations: 165.3 MB / 1.14 GB, free: 13.57 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.009271/1.372, allocations: 4.177 MB / 1.144 GB, free: 12.17 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00112/1.373, allocations: 21.53 kB / 1.144 GB, free: 12.16 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001149/1.374, allocations: 171 kB / 1.144 GB, free: 12.09 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.002888/1.377, allocations: 0.5845 MB / 1.145 GB, free: 11.82 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004833/1.382, allocations: 1.054 MB / 1.146 GB, free: 11.5 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002791/1.385, allocations: 1.444 MB / 1.147 GB, free: 11.25 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001019/1.386, allocations: 341.6 kB / 1.147 GB, free: 11.21 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001899/1.388, allocations: 0.5234 MB / 1.148 GB, free: 11.07 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001185/1.389, allocations: 386.8 kB / 1.148 GB, free: 10.97 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002076/1.389, allocations: 26.66 kB / 1.148 GB, free: 10.97 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003785/1.393, allocations: 0.7843 MB / 1.149 GB, free: 10.84 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005023/1.394, allocations: 167.6 kB / 1.149 GB, free: 10.79 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003896/1.394, allocations: 132.6 kB / 1.149 GB, free: 10.73 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002533/1.397, allocations: 0.7612 MB / 1.15 GB, free: 10.35 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/1.397, allocations: 0.9688 kB / 1.15 GB, free: 10.35 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.116e-06/1.397, allocations: 0 / 1.15 GB, free: 10.35 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.128e-05/1.397, allocations: 0 / 1.15 GB, free: 10.35 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.003002/1.4, allocations: 0.9373 MB / 1.151 GB, free: 9.609 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/1.4, allocations: 13.97 kB / 1.151 GB, free: 9.605 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002229/1.4, allocations: 76.5 kB / 1.151 GB, free: 9.559 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003152/1.403, allocations: 288.3 kB / 1.151 GB, free: 9.445 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001384/1.405, allocations: 435.1 kB / 1.152 GB, free: 9.117 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.626e-05/1.405, allocations: 30.84 kB / 1.152 GB, free: 9.113 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001285/1.405, allocations: 42.69 kB / 1.152 GB, free: 9.113 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001795/1.407, allocations: 0.5609 MB / 1.152 GB, free: 8.879 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.267e-05/1.407, allocations: 1 kB / 1.152 GB, free: 8.879 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.884e-05/1.407, allocations: 16.69 kB / 1.153 GB, free: 8.879 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.846e-05/1.407, allocations: 14.66 kB / 1.153 GB, free: 8.875 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00201/1.409, allocations: 486.9 kB / 1.153 GB, free: 8.777 MB / 0.698 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.004788/1.414, allocations: 2.132 MB / 1.155 GB, free: 7.188 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001784/1.416, allocations: 441 kB / 1.155 GB, free: 7.074 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001003/1.417, allocations: 243.1 kB / 1.156 GB, free: 7.02 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001219/1.418, allocations: 410.9 kB / 1.156 GB, free: 6.613 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001156/1.419, allocations: 314.3 kB / 1.156 GB, free: 6.48 MB / 0.698 GB Notification: Performance of pre-optimization done (n=37): time 4.529e-06/1.419, allocations: 0 / 1.156 GB, free: 6.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=37): time 0.003293/1.422, allocations: 0.7245 MB / 1.157 GB, free: 6.293 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.129e-05/1.423, allocations: 60.05 kB / 1.157 GB, free: 6.227 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/1.424, allocations: 0.489 MB / 1.158 GB, free: 6.027 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001284/1.424, allocations: 32.77 kB / 1.158 GB, free: 5.996 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002806/1.424, allocations: 259 kB / 1.158 GB, free: 5.852 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002411/1.424, allocations: 123.5 kB / 1.158 GB, free: 5.762 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.166e-05/1.424, allocations: 8.562 kB / 1.158 GB, free: 5.762 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002229/1.425, allocations: 369.9 kB / 1.158 GB, free: 5.426 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009399/1.426, allocations: 213.7 kB / 1.159 GB, free: 5.379 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001094/1.427, allocations: 329.9 kB / 1.159 GB, free: 5.219 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00103/1.428, allocations: 292 kB / 1.159 GB, free: 5.109 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.655e-06/1.428, allocations: 1.469 kB / 1.159 GB, free: 5.109 MB / 0.698 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002565/1.43, allocations: 0.6712 MB / 1.16 GB, free: 4.875 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.129e-05/1.431, allocations: 66.42 kB / 1.16 GB, free: 4.809 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/1.431, allocations: 2.375 kB / 1.16 GB, free: 4.809 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.574e-05/1.431, allocations: 5.719 kB / 1.16 GB, free: 4.809 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009226/1.432, allocations: 110.4 kB / 1.16 GB, free: 4.781 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.055e-05/1.432, allocations: 5.203 kB / 1.16 GB, free: 4.781 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001189/1.433, allocations: 93.48 kB / 1.16 GB, free: 4.738 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001159/1.433, allocations: 23.73 kB / 1.16 GB, free: 4.734 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004486/1.433, allocations: 202.9 kB / 1.16 GB, free: 4.598 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001862/1.434, allocations: 52.81 kB / 1.16 GB, free: 4.57 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00221/1.436, allocations: 0.5758 MB / 1.161 GB, free: 4.398 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/1.436, allocations: 4 kB / 1.161 GB, free: 4.398 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/1.436, allocations: 3.938 kB / 1.161 GB, free: 4.395 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/1.436, allocations: 0 / 1.161 GB, free: 4.395 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004303/1.44, allocations: 1.373 MB / 1.162 GB, free: 3.578 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.36e-05/1.44, allocations: 8.469 kB / 1.162 GB, free: 3.574 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008351/1.441, allocations: 90.03 kB / 1.162 GB, free: 3.547 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.444e-05/1.441, allocations: 5.125 kB / 1.162 GB, free: 3.547 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.583e-05/1.441, allocations: 14.36 kB / 1.162 GB, free: 3.539 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.888e-06/1.441, allocations: 4.781 kB / 1.162 GB, free: 3.539 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.877e-06/1.441, allocations: 4.344 kB / 1.162 GB, free: 3.539 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00333/1.445, allocations: 0.9865 MB / 1.163 GB, free: 2.91 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005325/1.445, allocations: 175 kB / 1.164 GB, free: 2.75 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001466/1.445, allocations: 15.2 kB / 1.164 GB, free: 2.742 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000904/1.446, allocations: 50.58 kB / 1.164 GB, free: 2.723 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002019/1.446, allocations: 47.7 kB / 1.164 GB, free: 2.695 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.669e-05/1.447, allocations: 16.84 kB / 1.164 GB, free: 2.691 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007502/1.447, allocations: 348.1 kB / 1.164 GB, free: 2.48 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.21e-07/1.447, allocations: 5.312 kB / 1.164 GB, free: 2.477 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001136/1.448, allocations: 153.7 kB / 1.164 GB, free: 2.449 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) * 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 (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.00431/1.453, allocations: 1.612 MB / 1.166 GB, free: 1.25 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002404/1.455, allocations: 0.6023 MB / 1.166 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.757e-06/1.455, allocations: 0 / 1.166 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001424/1.457, allocations: 306.7 kB / 1.167 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002845/1.46, allocations: 278 kB / 1.167 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/1.47, allocations: 3.411 MB / 1.17 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007187/1.471, allocations: 0.8603 MB / 1.171 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001052/1.472, allocations: 130 kB / 1.171 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005054/1.473, allocations: 175.9 kB / 1.171 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of SimCode: time 8.035e-06/1.473, allocations: 0 / 1.171 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06072/1.533, allocations: 14.81 MB / 1.186 GB, free: 6.363 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003888/1.534, allocations: 220.1 kB / 1.186 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.302/4.836, allocations: 0 / 1.186 GB, free: 6.129 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)