Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.MixingVolumeZeroFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",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.001082/0.001081, allocations: 99.86 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.001419/0.00142, allocations: 177.3 kB / 15.94 MB, free: 228 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.579/1.579, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.416/2.416, allocations: 409.2 MB / 0.6838 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003014/0.0003014, allocations: 8 kB / 0.8375 GB, free: 6.582 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4935/0.4938, allocations: 146.8 MB / 0.9809 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.03397/0.5278, allocations: 41.6 MB / 1.021 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01269/0.5405, allocations: 10.91 MB / 1.032 GB, free: 1.656 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008739/0.5414, allocations: 71.5 kB / 1.032 GB, free: 1.586 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001541/0.543, allocations: 0.8472 MB / 1.033 GB, free: 0.7344 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.003986/0.547, allocations: 2.359 MB / 1.035 GB, free: 14.37 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003969/0.551, allocations: 2.03 MB / 1.037 GB, free: 12.38 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.002213/0.5532, allocations: 2.055 MB / 1.039 GB, free: 10.33 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009604/0.5542, allocations: 0.9158 MB / 1.04 GB, free: 9.383 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00113/0.5553, allocations: 0.9262 MB / 1.041 GB, free: 8.453 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005784/0.5559, allocations: 0.5868 MB / 1.042 GB, free: 7.863 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 9.317e-05/0.556, allocations: 40 kB / 1.042 GB, free: 7.824 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001343/0.5573, allocations: 0.7918 MB / 1.043 GB, free: 7.031 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.000191/0.5575, allocations: 207 kB / 1.043 GB, free: 6.828 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001913/0.5577, allocations: 273 kB / 1.043 GB, free: 6.555 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.001221/0.559, allocations: 1.383 MB / 1.044 GB, free: 5.168 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.559, allocations: 0 / 1.044 GB, free: 5.168 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.282e-06/0.559, allocations: 0 / 1.044 GB, free: 5.168 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.094e-05/0.559, allocations: 0 / 1.044 GB, free: 5.168 MB / 0.795 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.001876/0.5609, allocations: 1.491 MB / 1.046 GB, free: 3.625 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.03e-05/0.5609, allocations: 8.031 kB / 1.046 GB, free: 3.617 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001379/0.561, allocations: 139.2 kB / 1.046 GB, free: 3.473 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004778/0.5615, allocations: 222.1 kB / 1.046 GB, free: 3.254 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001356/0.5629, allocations: 0.9438 MB / 1.047 GB, free: 2.254 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003349/0.5632, allocations: 125.9 kB / 1.047 GB, free: 2.129 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.829e-05/0.5633, allocations: 84 kB / 1.047 GB, free: 2.047 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001426/0.5648, allocations: 0.9961 MB / 1.048 GB, free: 0.9844 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.5648, allocations: 0 / 1.048 GB, free: 0.9844 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.617e-05/0.5649, allocations: 40 kB / 1.048 GB, free: 0.9453 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.712e-05/0.5649, allocations: 24 kB / 1.048 GB, free: 0.9219 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001329/0.5662, allocations: 0.6829 MB / 1.049 GB, free: 244 kB / 0.795 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.004197/0.5704, allocations: 4.481 MB / 1.053 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/0.5715, allocations: 434.6 kB / 1.054 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007368/0.5723, allocations: 1.152 MB / 1.055 GB, free: 9.66 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.5723, allocations: 34.56 kB / 1.055 GB, free: 9.617 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=29): time 2.495e-06/0.5723, allocations: 4 kB / 1.055 GB, free: 9.613 MB / 0.8106 GB Notification: Performance of matching and sorting (n=29): time 0.002524/0.5748, allocations: 1.143 MB / 1.056 GB, free: 8.398 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.5749, allocations: 59.41 kB / 1.056 GB, free: 8.328 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009633/0.5759, allocations: 0.9863 MB / 1.057 GB, free: 7.328 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.702e-05/0.5759, allocations: 33.7 kB / 1.057 GB, free: 7.289 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003591/0.5763, allocations: 0.5735 MB / 1.058 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.751e-05/0.5763, allocations: 102.5 kB / 1.058 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.977e-05/0.5764, allocations: 8 kB / 1.058 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.5765, allocations: 326 kB / 1.058 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000498/0.577, allocations: 217 kB / 1.058 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006129/0.5776, allocations: 394.9 kB / 1.059 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000544/0.5782, allocations: 257.2 kB / 1.059 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.5782, allocations: 0 / 1.059 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001409/0.5796, allocations: 0.7639 MB / 1.06 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.5796, allocations: 8 kB / 1.06 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.5796, allocations: 7.953 kB / 1.06 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00057/0.5802, allocations: 167.1 kB / 1.06 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005551/0.5808, allocations: 159.8 kB / 1.06 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009216/0.5817, allocations: 1.719 MB / 1.062 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006161/0.5823, allocations: 119.5 kB / 1.062 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.61e-05/0.5824, allocations: 27.98 kB / 1.062 GB, free: 2.289 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (48): * Single equations (assignments): 45 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 2,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002956/0.5827, allocations: 261.6 kB / 1.062 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.5828, allocations: 106.7 kB / 1.062 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001651/0.5845, allocations: 0.7739 MB / 1.063 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.5845, allocations: 4 kB / 1.063 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.5845, allocations: 4 kB / 1.063 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.298e-06/0.5845, allocations: 11.94 kB / 1.063 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002807/0.5873, allocations: 1.678 MB / 1.065 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.5873, allocations: 4 kB / 1.065 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004443/0.5878, allocations: 112 kB / 1.065 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000491/0.5883, allocations: 146.5 kB / 1.065 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.463e-05/0.5883, allocations: 11.98 kB / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000921/0.5892, allocations: 1.712 MB / 1.066 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.5893, allocations: 3.953 kB / 1.066 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001494/0.5908, allocations: 0.9065 MB / 1.067 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003294/0.5911, allocations: 259.6 kB / 1.068 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.84e-05/0.5912, allocations: 12 kB / 1.068 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006234/0.5918, allocations: 83.83 kB / 1.068 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.118e-05/0.5919, allocations: 35.89 kB / 1.068 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.682e-05/0.5919, allocations: 23.92 kB / 1.068 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0007116/0.5927, allocations: 0.6655 MB / 1.068 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5927, allocations: 0 / 1.068 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0008484/0.5935, allocations: 383.1 kB / 1.069 GB, free: 10.82 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (26): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 2,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002484/0.596, allocations: 2.146 MB / 1.071 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001387/0.5974, allocations: 0.5674 MB / 1.071 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5974, allocations: 0 / 1.071 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007505/0.5982, allocations: 320 kB / 1.072 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001951/0.6001, allocations: 0.4987 MB / 1.072 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009124/0.6093, allocations: 9.688 MB / 1.082 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005558/0.6098, allocations: 1.122 MB / 1.083 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0005354/0.6104, allocations: 175.9 kB / 1.083 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004138/0.6108, allocations: 419.3 kB / 1.083 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.6108, allocations: 0 / 1.083 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.935/2.546, allocations: 29.42 MB / 1.112 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002463/2.546, allocations: 272 kB / 1.112 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.794/5.34, allocations: 0 / 1.112 GB, free: 14.15 MB / 0.8731 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat does not exist to compare? outputFormat=mat