Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",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 1.373/1.373, allocations: 287.4 MB / 302.6 MB, free: 8.266 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.001238/0.001239, allocations: 184.8 kB / 371.1 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.078/1.078, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0006581/0.0006581, allocations: 95.98 kB / 0.7431 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0002995/0.0002996, allocations: 10.97 kB / 0.8662 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1337, allocations: 115.3 MB / 0.9787 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.4212/0.5549, allocations: 173.4 MB / 1.148 GB, free: 10.73 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.007351/0.5623, allocations: 5.361 MB / 1.153 GB, free: 8.414 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004828/0.5628, allocations: 33.75 kB / 1.153 GB, free: 8.398 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0008967/0.5637, allocations: 408.7 kB / 1.154 GB, free: 8.176 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.002579/0.5663, allocations: 1.364 MB / 1.155 GB, free: 7.281 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001842/0.5682, allocations: 0.8375 MB / 1.156 GB, free: 6.691 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00287/0.5711, allocations: 3.432 MB / 1.159 GB, free: 4.688 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008434/0.5719, allocations: 0.7714 MB / 1.16 GB, free: 4.227 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001097/0.573, allocations: 0.8721 MB / 1.161 GB, free: 3.777 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009281/0.574, allocations: 0.8679 MB / 1.162 GB, free: 3.305 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001068/0.5741, allocations: 42.62 kB / 1.162 GB, free: 3.305 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001489/0.5756, allocations: 0.6993 MB / 1.162 GB, free: 2.969 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003432/0.5759, allocations: 387.1 kB / 1.163 GB, free: 2.727 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002157/0.5761, allocations: 256.9 kB / 1.163 GB, free: 2.594 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001282/0.5774, allocations: 1.473 MB / 1.164 GB, free: 1.625 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.5774, allocations: 0 / 1.164 GB, free: 1.625 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.203e-06/0.5774, allocations: 1.438 kB / 1.164 GB, free: 1.625 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.161e-05/0.5775, allocations: 4 kB / 1.164 GB, free: 1.621 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002206/0.5797, allocations: 1.282 MB / 1.166 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.5797, allocations: 8.312 kB / 1.166 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002234/0.58, allocations: 140.7 kB / 1.166 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002066/0.582, allocations: 319.9 kB / 1.166 GB, free: 388 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.5831, allocations: 0.7973 MB / 1.167 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.64e-05/0.5832, allocations: 65.31 kB / 1.167 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.5833, allocations: 83.59 kB / 1.167 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001364/0.5847, allocations: 0.9094 MB / 1.168 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.5847, allocations: 0 / 1.168 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.635e-05/0.5848, allocations: 37.16 kB / 1.168 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.205e-05/0.5848, allocations: 38.94 kB / 1.168 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001269/0.5861, allocations: 0.8286 MB / 1.169 GB, free: 14.74 MB / 0.7136 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.004527/0.5906, allocations: 3.532 MB / 1.172 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006407/0.5913, allocations: 0.5077 MB / 1.173 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003801/0.5917, allocations: 292.9 kB / 1.173 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001423/0.5918, allocations: 102.2 kB / 1.173 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.5918, allocations: 44.69 kB / 1.173 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=47): time 1.463e-06/0.5919, allocations: 0 / 1.173 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of matching and sorting (n=49): time 0.00311/0.595, allocations: 1.941 MB / 1.175 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/0.595, allocations: 60.97 kB / 1.175 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007366/0.5958, allocations: 0.7891 MB / 1.176 GB, free: 9.605 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.11e-05/0.5958, allocations: 39.92 kB / 1.176 GB, free: 9.566 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002745/0.5961, allocations: 468.2 kB / 1.176 GB, free: 9.156 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/0.5962, allocations: 171.1 kB / 1.177 GB, free: 9.008 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.674e-05/0.5962, allocations: 15.09 kB / 1.177 GB, free: 8.996 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.99e-05/0.5963, allocations: 331.4 kB / 1.177 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003647/0.5967, allocations: 248.7 kB / 1.177 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004301/0.5972, allocations: 367.1 kB / 1.177 GB, free: 8.293 MB / 0.7136 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003118/0.6003, allocations: 1.551 MB / 1.179 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.6003, allocations: 4 kB / 1.179 GB, free: 7.418 MB / 0.7136 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001058/0.6014, allocations: 0.7922 MB / 1.18 GB, free: 7.004 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.6014, allocations: 9.75 kB / 1.18 GB, free: 7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.6014, allocations: 2.906 kB / 1.18 GB, free: 7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002365/0.6016, allocations: 88.88 kB / 1.18 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005589/0.6022, allocations: 164.4 kB / 1.18 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003317/0.6055, allocations: 3.065 MB / 1.183 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006883/0.6062, allocations: 67.12 kB / 1.183 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.03e-05/0.6063, allocations: 20.88 kB / 1.183 GB, free: 3.906 MB / 0.7136 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003228/0.6066, allocations: 297 kB / 1.183 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.6067, allocations: 93.75 kB / 1.183 GB, free: 3.637 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001414/0.6069, allocations: 103.6 kB / 1.184 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.6069, allocations: 9.406 kB / 1.184 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.6069, allocations: 0 / 1.184 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008628/0.6077, allocations: 0.8474 MB / 1.184 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002279/0.61, allocations: 1.799 MB / 1.186 GB, free: 1.602 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.6101, allocations: 10.12 kB / 1.186 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005535/0.6106, allocations: 148.7 kB / 1.186 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001779/0.6108, allocations: 68.12 kB / 1.186 GB, free: 1.52 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.137e-05/0.6108, allocations: 15.97 kB / 1.186 GB, free: 1.512 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001243/0.6121, allocations: 1.639 MB / 1.188 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.6121, allocations: 5.938 kB / 1.188 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001279/0.6134, allocations: 1.109 MB / 1.189 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002817/0.6137, allocations: 234 kB / 1.189 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.885e-05/0.6138, allocations: 12.78 kB / 1.189 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006568/0.6145, allocations: 69.73 kB / 1.189 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.48e-05/0.6145, allocations: 43.05 kB / 1.189 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.964e-05/0.6146, allocations: 31.44 kB / 1.189 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0005253/0.6151, allocations: 0.5454 MB / 1.19 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6151, allocations: 3.938 kB / 1.19 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006298/0.6158, allocations: 282.8 kB / 1.19 GB, free: 14.64 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.U,volDyn.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001729/0.6175, allocations: 1.745 MB / 1.192 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001016/0.6185, allocations: 0.8082 MB / 1.193 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.6186, allocations: 2.625 kB / 1.193 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004735/0.619, allocations: 412.6 kB / 1.193 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002485/0.6215, allocations: 0.5815 MB / 1.194 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007452/0.629, allocations: 5.389 MB / 1.199 GB, free: 8.805 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005672/0.6296, allocations: 1.083 MB / 1.2 GB, free: 7.691 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0006784/0.6303, allocations: 207.5 kB / 1.2 GB, free: 7.484 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004047/0.6307, allocations: 343.3 kB / 1.201 GB, free: 7.148 MB / 0.7292 GB Notification: Performance of SimCode: time 2.11e-07/0.6307, allocations: 0 / 1.201 GB, free: 7.148 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9051/1.536, allocations: 27.24 MB / 1.227 GB, free: 12.26 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000197/1.536, allocations: 261.2 kB / 1.227 GB, free: 11.91 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.572/4.108, allocations: 7.938 kB / 1.227 GB, free: 11.9 MB / 0.7605 GB (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1)