Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.conf.json 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/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000891/0.0008967, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008453/0.0008456, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.551/2.551, allocations: 390.4 MB / 0.6655 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003538/0.0003538, allocations: 8 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8748/0.8751, allocations: 142.3 MB / 0.9538 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2101/1.085, allocations: 173.4 MB / 1.123 GB, free: 2.258 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01006/1.095, allocations: 5.423 MB / 1.128 GB, free: 12.82 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001477/1.097, allocations: 31.75 kB / 1.129 GB, free: 12.79 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001369/1.098, allocations: 401.5 kB / 1.129 GB, free: 12.4 MB / 0.8887 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.004371/1.103, allocations: 1.368 MB / 1.13 GB, free: 11.02 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003048/1.106, allocations: 0.8546 MB / 1.131 GB, free: 10.18 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.005009/1.111, allocations: 3.442 MB / 1.134 GB, free: 6.727 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001303/1.112, allocations: 0.7063 MB / 1.135 GB, free: 6.012 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001968/1.114, allocations: 0.8868 MB / 1.136 GB, free: 5.121 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001389/1.116, allocations: 0.8638 MB / 1.137 GB, free: 4.254 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001117/1.116, allocations: 44 kB / 1.137 GB, free: 4.211 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002288/1.118, allocations: 0.7015 MB / 1.138 GB, free: 3.508 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004553/1.118, allocations: 390.8 kB / 1.138 GB, free: 3.125 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003969/1.119, allocations: 265.1 kB / 1.138 GB, free: 2.859 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00198/1.121, allocations: 1.477 MB / 1.14 GB, free: 1.379 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/1.121, allocations: 0 / 1.14 GB, free: 1.379 MB / 0.8887 GB Notification: Performance of FrontEnd: time 4.709e-06/1.121, allocations: 0 / 1.14 GB, free: 1.379 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.112e-05/1.121, allocations: 0 / 1.14 GB, free: 1.379 MB / 0.8887 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.002419/1.123, allocations: 1.309 MB / 1.141 GB, free: 16 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/1.123, allocations: 8.031 kB / 1.141 GB, free: 8 kB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002023/1.124, allocations: 135.2 kB / 1.141 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001904/1.125, allocations: 322.2 kB / 1.141 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00129/1.127, allocations: 0.7817 MB / 1.142 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.988e-05/1.127, allocations: 58 kB / 1.142 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/1.127, allocations: 91.97 kB / 1.142 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001636/1.129, allocations: 0.9131 MB / 1.143 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/1.129, allocations: 7.922 kB / 1.143 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.934e-05/1.129, allocations: 43.95 kB / 1.143 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.792e-05/1.129, allocations: 30 kB / 1.143 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001408/1.13, allocations: 0.8315 MB / 1.144 GB, free: 12.75 MB / 0.9044 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.005522/1.136, allocations: 3.537 MB / 1.147 GB, free: 8.984 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007622/1.137, allocations: 0.5012 MB / 1.148 GB, free: 8.48 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004414/1.137, allocations: 298 kB / 1.148 GB, free: 8.188 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002034/1.137, allocations: 105.5 kB / 1.148 GB, free: 8.066 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/1.137, allocations: 39 kB / 1.148 GB, free: 8.02 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=47): time 2.686e-06/1.137, allocations: 0 / 1.148 GB, free: 8.02 MB / 0.9044 GB Notification: Performance of matching and sorting (n=49): time 0.00408/1.141, allocations: 1.942 MB / 1.15 GB, free: 5.98 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/1.141, allocations: 55.84 kB / 1.15 GB, free: 5.914 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/1.142, allocations: 0.798 MB / 1.151 GB, free: 5.109 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.889e-05/1.142, allocations: 37.7 kB / 1.151 GB, free: 5.066 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003594/1.143, allocations: 479.3 kB / 1.152 GB, free: 4.594 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001607/1.143, allocations: 173.5 kB / 1.152 GB, free: 4.422 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.292e-05/1.143, allocations: 12 kB / 1.152 GB, free: 4.41 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001529/1.143, allocations: 333.9 kB / 1.152 GB, free: 4.078 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004218/1.144, allocations: 249.2 kB / 1.152 GB, free: 3.832 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005011/1.144, allocations: 361.2 kB / 1.153 GB, free: 3.445 MB / 0.9044 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.002723/1.147, allocations: 0.998 MB / 1.154 GB, free: 2.43 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/1.147, allocations: 4 kB / 1.154 GB, free: 2.426 MB / 0.9044 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001466/1.148, allocations: 0.7965 MB / 1.154 GB, free: 1.617 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/1.148, allocations: 4 kB / 1.154 GB, free: 1.613 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/1.148, allocations: 4 kB / 1.154 GB, free: 1.609 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003229/1.149, allocations: 97.64 kB / 1.155 GB, free: 1.508 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006295/1.149, allocations: 151.8 kB / 1.155 GB, free: 1.359 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002821/1.152, allocations: 3.06 MB / 1.158 GB, free: 14.04 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/1.153, allocations: 51.94 kB / 1.158 GB, free: 13.98 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.482e-05/1.153, allocations: 28 kB / 1.158 GB, free: 13.96 MB / 0.92 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.000651/1.154, allocations: 297.6 kB / 1.158 GB, free: 13.66 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001451/1.154, allocations: 90.97 kB / 1.158 GB, free: 13.57 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001923/1.154, allocations: 104.7 kB / 1.158 GB, free: 13.46 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/1.154, allocations: 4 kB / 1.158 GB, free: 13.46 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/1.154, allocations: 0 / 1.158 GB, free: 13.46 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001048/1.155, allocations: 0.8544 MB / 1.159 GB, free: 12.51 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002874/1.158, allocations: 1.811 MB / 1.161 GB, free: 10.6 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/1.158, allocations: 0 / 1.161 GB, free: 10.6 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000577/1.159, allocations: 135.9 kB / 1.161 GB, free: 10.47 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002312/1.159, allocations: 76.95 kB / 1.161 GB, free: 10.39 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.211e-05/1.159, allocations: 15.94 kB / 1.161 GB, free: 10.38 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001671/1.161, allocations: 1.659 MB / 1.163 GB, free: 8.574 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/1.161, allocations: 4 kB / 1.163 GB, free: 8.57 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001738/1.163, allocations: 1.08 MB / 1.164 GB, free: 7.43 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005479/1.163, allocations: 228 kB / 1.164 GB, free: 7.188 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001983/1.163, allocations: 20.06 kB / 1.164 GB, free: 7.168 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008439/1.164, allocations: 65.44 kB / 1.164 GB, free: 7.105 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/1.164, allocations: 43.84 kB / 1.164 GB, free: 7.062 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.086e-05/1.165, allocations: 31.98 kB / 1.164 GB, free: 7.031 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0008807/1.165, allocations: 0.5536 MB / 1.165 GB, free: 6.484 MB / 0.92 GB Notification: Performance of sort global known variables: time 5.51e-07/1.165, allocations: 0 / 1.165 GB, free: 6.484 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.00114/1.167, allocations: 288 kB / 1.165 GB, free: 6.203 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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.002391/1.169, allocations: 1.724 MB / 1.167 GB, free: 4.422 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001518/1.17, allocations: 0.7961 MB / 1.167 GB, free: 3.594 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/1.171, allocations: 4 kB / 1.167 GB, free: 3.59 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0006422/1.171, allocations: 423.7 kB / 1.168 GB, free: 3.164 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003071/1.174, allocations: 0.5876 MB / 1.168 GB, free: 2.586 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01041/1.185, allocations: 5.441 MB / 1.174 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009341/1.186, allocations: 1.087 MB / 1.175 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001149/1.187, allocations: 219.7 kB / 1.175 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005561/1.187, allocations: 339.3 kB / 1.175 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of SimCode: time 1.122e-06/1.187, allocations: 0 / 1.175 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05646/1.244, allocations: 27.31 MB / 1.202 GB, free: 452 kB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002489/1.244, allocations: 278 kB / 1.202 GB, free: 84 kB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.309/3.553, allocations: 0 / 1.202 GB, free: 84 kB / 0.9512 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat does not exist to compare? outputFormat=mat