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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.429/2.429, allocations: 393.5 MB / 408.4 MB, free: 10.99 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.001534/0.001534, allocations: 191.9 kB / 0.4901 GB, free: 2.227 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.782/1.782, allocations: 223.1 MB / 0.7992 GB, free: 15.62 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.001218/0.001218, allocations: 106.6 kB / 0.9396 GB, free: 2.77 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004323/0.0004323, allocations: 10.09 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.4024, allocations: 143 MB / 1.229 GB, free: 85.36 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.435/1.838, allocations: 411.6 MB / 1.631 GB, free: 13.79 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003652/1.838, allocations: 88.97 kB / 1.631 GB, free: 13.74 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 2.519/4.357, allocations: 0.6684 GB / 2.3 GB, free: 4.055 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.584e-06/4.357, allocations: 0 / 2.3 GB, free: 4.055 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002218/4.357, allocations: 39.98 kB / 2.3 GB, free: 4.016 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.004952/4.362, allocations: 1.636 MB / 2.301 GB, free: 2.324 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.706e-05/4.362, allocations: 8.031 kB / 2.301 GB, free: 2.316 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004799/4.363, allocations: 139.2 kB / 2.302 GB, free: 2.172 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009397/4.364, allocations: 206.2 kB / 2.302 GB, free: 1.969 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.021/5.385, allocations: 23.53 MB / 2.325 GB, free: 265.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004429/5.385, allocations: 131.2 kB / 2.325 GB, free: 265.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003187/5.386, allocations: 86.09 kB / 2.325 GB, free: 265.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002668/5.388, allocations: 1.024 MB / 2.326 GB, free: 265.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.407e-05/5.389, allocations: 2.062 kB / 2.326 GB, free: 265.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00016/5.389, allocations: 38.97 kB / 2.326 GB, free: 265.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.299e-05/5.389, allocations: 24.14 kB / 2.326 GB, free: 265.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001933/5.391, allocations: 0.6525 MB / 2.327 GB, free: 265.6 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.007063/5.398, allocations: 4.347 MB / 2.331 GB, free: 263 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001244/5.399, allocations: 403.2 kB / 2.331 GB, free: 263 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008863/5.4, allocations: 1.149 MB / 2.332 GB, free: 261.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.516e-05/5.4, allocations: 39 kB / 2.332 GB, free: 261.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=29): time 4.028e-06/5.4, allocations: 0 / 2.332 GB, free: 261.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=29): time 0.00333/5.403, allocations: 1.098 MB / 2.333 GB, free: 261.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/5.403, allocations: 54.47 kB / 2.333 GB, free: 261.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002309/5.406, allocations: 0.8178 MB / 2.334 GB, free: 261 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001172/5.406, allocations: 36.23 kB / 2.334 GB, free: 261 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005905/5.407, allocations: 0.5824 MB / 2.335 GB, free: 260.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001602/5.407, allocations: 98.36 kB / 2.335 GB, free: 260.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.559e-05/5.407, allocations: 9 kB / 2.335 GB, free: 260.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001035/5.407, allocations: 327.8 kB / 2.335 GB, free: 260.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005935/5.407, allocations: 186.2 kB / 2.335 GB, free: 260.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007268/5.408, allocations: 396 kB / 2.336 GB, free: 260.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006904/5.409, allocations: 226.7 kB / 2.336 GB, free: 260.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-05/5.409, allocations: 5.141 kB / 2.336 GB, free: 260.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.002547/5.411, allocations: 0.7458 MB / 2.337 GB, free: 260.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.524e-05/5.412, allocations: 8.203 kB / 2.337 GB, free: 260.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.829e-05/5.412, allocations: 5.781 kB / 2.337 GB, free: 260.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008318/5.412, allocations: 137.9 kB / 2.337 GB, free: 260.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006524/5.413, allocations: 128.7 kB / 2.337 GB, free: 260.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001106/5.414, allocations: 1.701 MB / 2.339 GB, free: 258.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/5.415, allocations: 121.3 kB / 2.339 GB, free: 258.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/5.416, allocations: 28.84 kB / 2.339 GB, free: 258.5 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.0007487/5.416, allocations: 269.1 kB / 2.339 GB, free: 258.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004207/5.417, allocations: 108.7 kB / 2.339 GB, free: 258.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001988/5.419, allocations: 0.7236 MB / 2.34 GB, free: 258.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.106e-05/5.419, allocations: 7.094 kB / 2.34 GB, free: 258.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.687e-06/5.419, allocations: 0 / 2.34 GB, free: 258.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/5.419, allocations: 1.828 kB / 2.34 GB, free: 258.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004067/5.423, allocations: 1.609 MB / 2.342 GB, free: 257.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/5.423, allocations: 6.906 kB / 2.342 GB, free: 257.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004616/5.423, allocations: 81.11 kB / 2.342 GB, free: 257.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006879/5.424, allocations: 133.6 kB / 2.342 GB, free: 257.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.357e-05/5.424, allocations: 18.12 kB / 2.342 GB, free: 257.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009361/5.425, allocations: 1.684 MB / 2.343 GB, free: 256.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/5.425, allocations: 3.469 kB / 2.343 GB, free: 256.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001872/5.427, allocations: 0.887 MB / 2.344 GB, free: 255.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007772/5.428, allocations: 236.6 kB / 2.345 GB, free: 255.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003074/5.428, allocations: 14.72 kB / 2.345 GB, free: 255.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009913/5.429, allocations: 94.08 kB / 2.345 GB, free: 255.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.731e-05/5.429, allocations: 29.59 kB / 2.345 GB, free: 255.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.161e-05/5.429, allocations: 25.78 kB / 2.345 GB, free: 255.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001164/5.431, allocations: 0.637 MB / 2.345 GB, free: 255.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 4.01e-07/5.431, allocations: 2.969 kB / 2.345 GB, free: 255.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001768/5.432, allocations: 406.4 kB / 2.346 GB, free: 255.7 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.003632/5.436, allocations: 2.342 MB / 2.348 GB, free: 254.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001677/5.438, allocations: 0.5379 MB / 2.348 GB, free: 254.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/5.438, allocations: 3.25 kB / 2.348 GB, free: 254.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007706/5.439, allocations: 297.5 kB / 2.349 GB, free: 254.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002753/5.441, allocations: 0.5067 MB / 2.349 GB, free: 254.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01404/5.455, allocations: 9.516 MB / 2.359 GB, free: 248.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009591/5.456, allocations: 1.128 MB / 2.36 GB, free: 247.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.00112/5.458, allocations: 172 kB / 2.36 GB, free: 247.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006693/5.458, allocations: 413.3 kB / 2.36 GB, free: 247.7 MB / 1.167 GB Notification: Performance of SimCode: time 1.693e-06/5.458, allocations: 0 / 2.36 GB, free: 247.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0754/5.534, allocations: 32.18 MB / 2.392 GB, free: 247.3 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002253/5.534, allocations: 264.9 kB / 2.392 GB, free: 247 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.732/9.266, allocations: 1.719 kB / 2.392 GB, free: 247 MB / 1.167 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) 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