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.0008231/0.0008234, 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.0008778/0.0008779, 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.427/1.427, allocations: 223.3 MB / 240 MB, free: 5.402 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.516/2.516, allocations: 390.4 MB / 0.6655 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003503/0.0003503, allocations: 8 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8193/0.8197, allocations: 142.3 MB / 0.9538 GB, free: 8.25 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass): time 0.175/0.9947, allocations: 161 MB / 1.111 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.007879/1.003, allocations: 4.122 MB / 1.115 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001081/1.004, allocations: 19.88 kB / 1.115 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0009493/1.005, allocations: 246.4 kB / 1.115 GB, free: 10.42 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002892/1.008, allocations: 0.9207 MB / 1.116 GB, free: 9.496 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002/1.01, allocations: 0.5218 MB / 1.117 GB, free: 8.977 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002422/1.012, allocations: 1.884 MB / 1.119 GB, free: 7.09 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006559/1.013, allocations: 380.3 kB / 1.119 GB, free: 6.719 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001134/1.014, allocations: 0.5678 MB / 1.12 GB, free: 6.148 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007416/1.015, allocations: 466.2 kB / 1.12 GB, free: 5.691 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 6.008e-05/1.015, allocations: 20 kB / 1.12 GB, free: 5.672 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001794/1.017, allocations: 0.8067 MB / 1.121 GB, free: 4.863 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002191/1.017, allocations: 199.4 kB / 1.121 GB, free: 4.668 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.000156/1.017, allocations: 157.3 kB / 1.121 GB, free: 4.508 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001018/1.018, allocations: 0.8729 MB / 1.122 GB, free: 3.633 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/1.018, allocations: 0 / 1.122 GB, free: 3.633 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.663e-06/1.018, allocations: 0 / 1.122 GB, free: 3.633 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 8.606e-06/1.018, allocations: 0 / 1.122 GB, free: 3.633 MB / 0.8731 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.001456/1.019, allocations: 0.8997 MB / 1.123 GB, free: 2.68 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/1.02, allocations: 8.031 kB / 1.123 GB, free: 2.672 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001025/1.02, allocations: 78.53 kB / 1.123 GB, free: 2.586 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001034/1.021, allocations: 171 kB / 1.123 GB, free: 2.418 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008406/1.022, allocations: 0.5171 MB / 1.124 GB, free: 1.859 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.868e-05/1.022, allocations: 44.95 kB / 1.124 GB, free: 1.816 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.616e-05/1.022, allocations: 40 kB / 1.124 GB, free: 1.777 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007898/1.022, allocations: 466.4 kB / 1.124 GB, free: 1.312 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/1.022, allocations: 0 / 1.124 GB, free: 1.312 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.297e-05/1.023, allocations: 16 kB / 1.124 GB, free: 1.297 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.412e-05/1.023, allocations: 17 kB / 1.124 GB, free: 1.281 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006977/1.023, allocations: 427.7 kB / 1.125 GB, free: 0.8633 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.002427/1.026, allocations: 2.039 MB / 1.127 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004773/1.026, allocations: 290.7 kB / 1.127 GB, free: 14.35 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002918/1.026, allocations: 202.8 kB / 1.127 GB, free: 14.15 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002609/1.027, allocations: 190.2 kB / 1.127 GB, free: 13.93 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/1.027, allocations: 34.56 kB / 1.127 GB, free: 13.89 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=30): time 2.044e-06/1.027, allocations: 4 kB / 1.127 GB, free: 13.88 MB / 0.8887 GB Notification: Performance of matching and sorting (n=30): time 0.001462/1.028, allocations: 0.6559 MB / 1.128 GB, free: 13.2 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/1.028, allocations: 59.41 kB / 1.128 GB, free: 13.13 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004655/1.029, allocations: 441.9 kB / 1.128 GB, free: 12.69 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.117e-05/1.029, allocations: 33.7 kB / 1.128 GB, free: 12.65 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000177/1.029, allocations: 280.2 kB / 1.129 GB, free: 12.37 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 8.751e-05/1.029, allocations: 114.4 kB / 1.129 GB, free: 12.26 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.662e-05/1.029, allocations: 4 kB / 1.129 GB, free: 12.25 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001185/1.029, allocations: 354.8 kB / 1.129 GB, free: 11.9 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002396/1.029, allocations: 127.9 kB / 1.129 GB, free: 11.77 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000292/1.03, allocations: 206.5 kB / 1.129 GB, free: 11.55 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002773/1.03, allocations: 163.9 kB / 1.13 GB, free: 11.39 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/1.03, allocations: 0 / 1.13 GB, free: 11.39 MB / 0.8887 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006548/1.031, allocations: 412.9 kB / 1.13 GB, free: 10.98 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 7.356e-05/1.031, allocations: 133.3 kB / 1.13 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/1.031, allocations: 0 / 1.13 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/1.031, allocations: 4 kB / 1.13 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003419/1.031, allocations: 71.91 kB / 1.13 GB, free: 10.75 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/1.031, allocations: 4 kB / 1.13 GB, free: 10.75 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004533/1.032, allocations: 63.64 kB / 1.13 GB, free: 10.68 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-05/1.032, allocations: 11.94 kB / 1.13 GB, free: 10.67 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 7.525e-06/1.032, allocations: 4.938 kB / 1.13 GB, free: 10.67 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005715/1.032, allocations: 351.9 kB / 1.131 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/1.032, allocations: 0 / 1.131 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.62e-06/1.032, allocations: 7.938 kB / 1.131 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002838/1.033, allocations: 71.89 kB / 1.131 GB, free: 10.25 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/1.033, allocations: 0 / 1.131 GB, free: 10.25 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004215/1.033, allocations: 59.95 kB / 1.131 GB, free: 10.19 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.59e-05/1.033, allocations: 15.98 kB / 1.131 GB, free: 10.17 MB / 0.8887 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.0002636/1.033, allocations: 289 kB / 1.131 GB, free: 9.879 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.898e-05/1.033, allocations: 51.34 kB / 1.131 GB, free: 9.828 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007831/1.034, allocations: 432.1 kB / 1.132 GB, free: 9.395 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/1.034, allocations: 7.953 kB / 1.132 GB, free: 9.387 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/1.034, allocations: 3.938 kB / 1.132 GB, free: 9.383 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000622/1.035, allocations: 449.2 kB / 1.132 GB, free: 8.91 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001579/1.037, allocations: 1.145 MB / 1.133 GB, free: 7.684 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/1.037, allocations: 0 / 1.133 GB, free: 7.684 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002815/1.037, allocations: 59.91 kB / 1.133 GB, free: 7.625 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001993/1.037, allocations: 49.05 kB / 1.133 GB, free: 7.574 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.5e-05/1.037, allocations: 8.062 kB / 1.133 GB, free: 7.566 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001082/1.038, allocations: 1.441 MB / 1.135 GB, free: 5.992 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/1.038, allocations: 0 / 1.135 GB, free: 5.992 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009721/1.039, allocations: 0.7051 MB / 1.135 GB, free: 5.246 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001795/1.039, allocations: 164.4 kB / 1.135 GB, free: 5.066 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.77e-05/1.039, allocations: 8 kB / 1.135 GB, free: 5.059 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003919/1.04, allocations: 49.58 kB / 1.135 GB, free: 5.012 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.19e-05/1.04, allocations: 24.05 kB / 1.136 GB, free: 4.988 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-05/1.04, allocations: 15.98 kB / 1.136 GB, free: 4.973 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.000316/1.04, allocations: 306.9 kB / 1.136 GB, free: 4.676 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/1.04, allocations: 0 / 1.136 GB, free: 4.676 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0008381/1.041, allocations: 311.2 kB / 1.136 GB, free: 4.371 MB / 0.8887 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.001552/1.043, allocations: 1.328 MB / 1.137 GB, free: 3.004 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0008856/1.044, allocations: 0.4958 MB / 1.138 GB, free: 2.508 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/1.044, allocations: 0 / 1.138 GB, free: 2.508 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0004603/1.044, allocations: 295.4 kB / 1.138 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00141/1.045, allocations: 303 kB / 1.138 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004203/1.05, allocations: 3.108 MB / 1.141 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004581/1.05, allocations: 0.8978 MB / 1.142 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0005605/1.051, allocations: 160.4 kB / 1.143 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002425/1.051, allocations: 183.4 kB / 1.143 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of SimCode: time 5.71e-07/1.051, allocations: 0 / 1.143 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02967/1.081, allocations: 14.54 MB / 1.157 GB, free: 15.28 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003603/1.081, allocations: 270.4 kB / 1.157 GB, free: 14.93 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.051/3.133, allocations: 0 / 1.157 GB, free: 14.93 MB / 0.92 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