Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.255/2.255, allocations: 390.3 MB / 405.3 MB, free: 13.55 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 176.3 kB / 498.1 MB, free: 5.797 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.571/1.571, allocations: 223.2 MB / 0.7948 GB, free: 18.93 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009157/0.0009157, allocations: 98.84 kB / 0.9346 GB, free: 7.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003748/0.0003748, allocations: 9.625 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2977, allocations: 142.4 MB / 1.223 GB, free: 89.51 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.166/1.463, allocations: 410.8 MB / 1.624 GB, free: 6.184 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002869/1.464, allocations: 87.33 kB / 1.624 GB, free: 6.137 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.037/3.501, allocations: 0.6684 GB / 2.293 GB, free: 15.26 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.302e-06/3.501, allocations: 0 / 2.293 GB, free: 15.26 MB / 1.167 GB Notification: Performance of Transformations before backend: time 9.591e-05/3.501, allocations: 39.98 kB / 2.293 GB, free: 15.22 MB / 1.167 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.002695/3.503, allocations: 1.639 MB / 2.294 GB, free: 13.53 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/3.503, allocations: 8.031 kB / 2.294 GB, free: 13.52 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000151/3.504, allocations: 147.2 kB / 2.294 GB, free: 13.37 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000472/3.504, allocations: 206.2 kB / 2.295 GB, free: 13.17 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8141/4.318, allocations: 23.52 MB / 2.318 GB, free: 264.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004444/4.319, allocations: 128.8 kB / 2.318 GB, free: 264.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/4.319, allocations: 84.69 kB / 2.318 GB, free: 264.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002199/4.321, allocations: 1.025 MB / 2.319 GB, free: 264.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/4.321, allocations: 4.75 kB / 2.319 GB, free: 264.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.395e-05/4.321, allocations: 38.44 kB / 2.319 GB, free: 264.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.258e-05/4.321, allocations: 22.8 kB / 2.319 GB, free: 264.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001654/4.323, allocations: 0.6564 MB / 2.319 GB, free: 264.1 MB / 1.167 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.005847/4.329, allocations: 4.341 MB / 2.324 GB, free: 261.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001172/4.33, allocations: 404.3 kB / 2.324 GB, free: 261.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007783/4.331, allocations: 1.152 MB / 2.325 GB, free: 260.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/4.331, allocations: 38 kB / 2.325 GB, free: 260.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=29): time 2.635e-06/4.331, allocations: 0 / 2.325 GB, free: 260.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=29): time 0.002929/4.334, allocations: 1.097 MB / 2.326 GB, free: 259.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/4.334, allocations: 58.73 kB / 2.326 GB, free: 259.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001265/4.335, allocations: 0.8198 MB / 2.327 GB, free: 259.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.542e-05/4.335, allocations: 35.77 kB / 2.327 GB, free: 259.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000513/4.336, allocations: 0.5732 MB / 2.328 GB, free: 259.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/4.336, allocations: 105.5 kB / 2.328 GB, free: 259.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.12e-05/4.336, allocations: 6.75 kB / 2.328 GB, free: 259.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.659e-05/4.336, allocations: 322.5 kB / 2.328 GB, free: 259.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005289/4.336, allocations: 190.4 kB / 2.328 GB, free: 259.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006578/4.337, allocations: 395.9 kB / 2.329 GB, free: 258.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006152/4.338, allocations: 233.8 kB / 2.329 GB, free: 258.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/4.338, allocations: 2 kB / 2.329 GB, free: 258.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001934/4.34, allocations: 0.7404 MB / 2.33 GB, free: 258.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/4.34, allocations: 7.969 kB / 2.33 GB, free: 258.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.756e-05/4.34, allocations: 12.52 kB / 2.33 GB, free: 258.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006661/4.34, allocations: 143.5 kB / 2.33 GB, free: 258.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005052/4.341, allocations: 124 kB / 2.33 GB, free: 258.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000879/4.342, allocations: 1.693 MB / 2.332 GB, free: 257.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009843/4.343, allocations: 119.3 kB / 2.332 GB, free: 257.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.788e-05/4.343, allocations: 31.89 kB / 2.332 GB, free: 257.1 MB / 1.167 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 (44): * Single equations (assignments): 41 * 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 3,1 3,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005953/4.343, allocations: 269.8 kB / 2.332 GB, free: 257 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001768/4.344, allocations: 110.2 kB / 2.332 GB, free: 256.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001883/4.346, allocations: 0.7294 MB / 2.333 GB, free: 256.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.241e-05/4.346, allocations: 3.156 kB / 2.333 GB, free: 256.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/4.346, allocations: 7.438 kB / 2.333 GB, free: 256.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/4.346, allocations: 3.703 kB / 2.333 GB, free: 256.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003404/4.349, allocations: 1.611 MB / 2.334 GB, free: 256.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/4.349, allocations: 1.5 kB / 2.334 GB, free: 256.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004069/4.349, allocations: 82.42 kB / 2.335 GB, free: 256.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000542/4.35, allocations: 135.5 kB / 2.335 GB, free: 256.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.182e-05/4.35, allocations: 11.97 kB / 2.335 GB, free: 256.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000821/4.351, allocations: 1.688 MB / 2.336 GB, free: 254.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/4.351, allocations: 0 / 2.336 GB, free: 254.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00162/4.353, allocations: 0.8946 MB / 2.337 GB, free: 254.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004781/4.353, allocations: 236.7 kB / 2.337 GB, free: 254.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/4.353, allocations: 7.094 kB / 2.337 GB, free: 254.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007022/4.354, allocations: 101.6 kB / 2.337 GB, free: 254.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.159e-05/4.354, allocations: 30.44 kB / 2.338 GB, free: 254.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.987e-05/4.354, allocations: 20.58 kB / 2.338 GB, free: 254.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0009922/4.355, allocations: 0.6363 MB / 2.338 GB, free: 254.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 5.41e-07/4.355, allocations: 2.625 kB / 2.338 GB, free: 254.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001475/4.356, allocations: 404.5 kB / 2.339 GB, free: 254.2 MB / 1.167 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 2,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003106/4.36, allocations: 2.347 MB / 2.341 GB, free: 252.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001603/4.361, allocations: 0.5346 MB / 2.341 GB, free: 252.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/4.361, allocations: 0 / 2.341 GB, free: 252.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007699/4.362, allocations: 304.4 kB / 2.342 GB, free: 252.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002158/4.364, allocations: 0.4961 MB / 2.342 GB, free: 252.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01011/4.374, allocations: 9.515 MB / 2.351 GB, free: 247 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005464/4.375, allocations: 1.119 MB / 2.353 GB, free: 246.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0008565/4.376, allocations: 176.3 kB / 2.353 GB, free: 246.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004064/4.376, allocations: 414.9 kB / 2.353 GB, free: 246.3 MB / 1.167 GB Notification: Performance of SimCode: time 1.453e-06/4.376, allocations: 0 / 2.353 GB, free: 246.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06784/4.444, allocations: 32.18 MB / 2.385 GB, free: 245.9 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001836/4.444, allocations: 265.8 kB / 2.385 GB, free: 245.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.285/7.73, allocations: 0 / 2.385 GB, free: 245.6 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat does not exist to compare? outputFormat=mat