Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.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.MixingVolumeSteadyStateMass,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass",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.001137/0.001137, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001265/0.001265, allocations: 177.3 kB / 15.95 MB, free: 216 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.48/1.48, allocations: 223.2 MB / 239.9 MB, free: 5.438 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.474/2.474, allocations: 390.3 MB / 0.6653 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0006211/0.0006212, allocations: 8 kB / 0.8146 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.758/0.7586, allocations: 142.3 MB / 0.9536 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass): time 0.1613/0.92, allocations: 147.9 MB / 1.098 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.006435/0.9265, allocations: 4.27 MB / 1.102 GB, free: 7.637 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007534/0.9273, allocations: 23.81 kB / 1.102 GB, free: 7.613 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001197/0.9285, allocations: 386.3 kB / 1.103 GB, free: 7.234 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003457/0.932, allocations: 1.18 MB / 1.104 GB, free: 6.051 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002424/0.9344, allocations: 0.8144 MB / 1.104 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001665/0.9361, allocations: 0.9448 MB / 1.105 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008047/0.9369, allocations: 384.4 kB / 1.106 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001237/0.9382, allocations: 490.3 kB / 1.106 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006699/0.9388, allocations: 302.8 kB / 1.107 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.939, allocations: 24 kB / 1.107 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001553/0.9405, allocations: 0.6123 MB / 1.107 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002505/0.9408, allocations: 179.5 kB / 1.107 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002143/0.941, allocations: 161.3 kB / 1.107 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0011/0.9421, allocations: 0.7716 MB / 1.108 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.9421, allocations: 0 / 1.108 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.294e-06/0.9421, allocations: 0 / 1.108 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.692e-05/0.9422, allocations: 0 / 1.108 GB, free: 1.398 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001702/0.9439, allocations: 0.8657 MB / 1.109 GB, free: 492 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.9439, allocations: 8.031 kB / 1.109 GB, free: 484 kB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001369/0.9441, allocations: 86.52 kB / 1.109 GB, free: 388 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001149/0.9452, allocations: 171 kB / 1.109 GB, free: 216 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009426/0.9462, allocations: 0.5132 MB / 1.11 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.48e-05/0.9462, allocations: 36.95 kB / 1.11 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.544e-05/0.9463, allocations: 40 kB / 1.11 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008364/0.9471, allocations: 462.4 kB / 1.11 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.9472, allocations: 0 / 1.11 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.669e-05/0.9472, allocations: 19.98 kB / 1.11 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.918e-05/0.9473, allocations: 21 kB / 1.11 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007542/0.948, allocations: 427.7 kB / 1.111 GB, free: 14.66 MB / 0.8731 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.002673/0.9507, allocations: 2.028 MB / 1.113 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005037/0.9512, allocations: 312.4 kB / 1.113 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 5.144e-05/0.9513, allocations: 8 kB / 1.113 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.9513, allocations: 38.56 kB / 1.113 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=30): time 2.966e-06/0.9513, allocations: 0 / 1.113 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30): time 0.001561/0.9529, allocations: 0.6564 MB / 1.114 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.9529, allocations: 59.41 kB / 1.114 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004692/0.9534, allocations: 449.8 kB / 1.114 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.143e-05/0.9535, allocations: 29.7 kB / 1.114 GB, free: 10.85 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001992/0.9537, allocations: 276.3 kB / 1.115 GB, free: 10.58 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.86e-05/0.9538, allocations: 114.4 kB / 1.115 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.646e-05/0.9538, allocations: 4 kB / 1.115 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.9539, allocations: 358.8 kB / 1.115 GB, free: 10.1 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002586/0.9542, allocations: 131.9 kB / 1.115 GB, free: 9.973 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000302/0.9545, allocations: 202.5 kB / 1.115 GB, free: 9.75 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002974/0.9548, allocations: 163.9 kB / 1.115 GB, free: 9.59 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.9548, allocations: 0 / 1.115 GB, free: 9.59 MB / 0.8731 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006914/0.9555, allocations: 408.8 kB / 1.116 GB, free: 9.184 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001877/0.9557, allocations: 0.5255 MB / 1.116 GB, free: 8.617 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.9557, allocations: 0 / 1.116 GB, free: 8.617 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.9558, allocations: 7.953 kB / 1.116 GB, free: 8.609 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000348/0.9561, allocations: 75.89 kB / 1.116 GB, free: 8.535 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.9561, allocations: 0 / 1.116 GB, free: 8.535 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000541/0.9567, allocations: 63.64 kB / 1.117 GB, free: 8.473 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.635e-05/0.9567, allocations: 16 kB / 1.117 GB, free: 8.457 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.9567, allocations: 5.406 kB / 1.117 GB, free: 8.453 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006125/0.9574, allocations: 344 kB / 1.117 GB, free: 8.117 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.9574, allocations: 7.938 kB / 1.117 GB, free: 8.109 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.621e-06/0.9574, allocations: 4 kB / 1.117 GB, free: 8.105 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003009/0.9577, allocations: 71.89 kB / 1.117 GB, free: 8.035 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.9577, allocations: 4 kB / 1.117 GB, free: 8.031 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004943/0.9582, allocations: 55.86 kB / 1.117 GB, free: 7.977 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.087e-05/0.9582, allocations: 12 kB / 1.117 GB, free: 7.965 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (37): * Single equations (assignments): 37 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002926/0.9585, allocations: 288.9 kB / 1.117 GB, free: 7.672 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.699e-05/0.9586, allocations: 55.41 kB / 1.117 GB, free: 7.617 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008234/0.9595, allocations: 440.1 kB / 1.118 GB, free: 7.176 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.9595, allocations: 0 / 1.118 GB, free: 7.176 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.9595, allocations: 8 kB / 1.118 GB, free: 7.168 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007104/0.9602, allocations: 449.1 kB / 1.118 GB, free: 6.695 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002078/0.9623, allocations: 1.145 MB / 1.119 GB, free: 5.469 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.308e-06/0.9623, allocations: 7.938 kB / 1.119 GB, free: 5.461 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003144/0.9627, allocations: 55.91 kB / 1.119 GB, free: 5.406 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002719/0.963, allocations: 52.81 kB / 1.119 GB, free: 5.352 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/0.963, allocations: 8.219 kB / 1.119 GB, free: 5.344 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001462/0.9645, allocations: 1.441 MB / 1.121 GB, free: 3.77 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.9645, allocations: 4.031 kB / 1.121 GB, free: 3.766 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001213/0.9657, allocations: 0.7877 MB / 1.122 GB, free: 2.895 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003393/0.9661, allocations: 168.7 kB / 1.122 GB, free: 2.711 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.494e-05/0.9662, allocations: 11.94 kB / 1.122 GB, free: 2.699 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005257/0.9667, allocations: 41.58 kB / 1.122 GB, free: 2.66 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.548e-05/0.9668, allocations: 23.97 kB / 1.122 GB, free: 2.637 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.524e-05/0.9668, allocations: 19.97 kB / 1.122 GB, free: 2.617 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004694/0.9673, allocations: 314.9 kB / 1.122 GB, free: 2.312 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9673, allocations: 0 / 1.122 GB, free: 2.312 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001191/0.9685, allocations: 307.2 kB / 1.122 GB, free: 2.012 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.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 (28): * Single equations (assignments): 27 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002167/0.9707, allocations: 1.886 MB / 1.124 GB, free: 60 kB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009394/0.9716, allocations: 499.8 kB / 1.125 GB, free: 15.57 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/0.9717, allocations: 4.625 kB / 1.125 GB, free: 15.56 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0005064/0.9722, allocations: 295.3 kB / 1.125 GB, free: 15.26 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001548/0.9737, allocations: 308.9 kB / 1.125 GB, free: 14.96 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005099/0.9788, allocations: 3.813 MB / 1.129 GB, free: 11.05 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004542/0.9793, allocations: 0.9173 MB / 1.13 GB, free: 10.11 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0005704/0.9799, allocations: 156.4 kB / 1.13 GB, free: 9.953 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002503/0.9802, allocations: 183.4 kB / 1.13 GB, free: 9.773 MB / 0.8887 GB Notification: Performance of SimCode: time 6.21e-07/0.9802, allocations: 0 / 1.13 GB, free: 9.773 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03088/1.011, allocations: 14.51 MB / 1.144 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002011/1.011, allocations: 260.6 kB / 1.145 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.992/3.003, allocations: 2.25 kB / 1.145 GB, free: 11.27 MB / 0.9044 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass_res.mat does not exist to compare? outputFormat=mat