Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.MixingVolumeSteadyStateMass,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass,fileNamePrefix="Buildings_latest_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.001132/0.001132, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.0015/0.0015, allocations: 172.7 kB / 15.95 MB, free: 208 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.493/1.493, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.679/2.679, allocations: 409.4 MB / 0.684 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003734/0.0003735, allocations: 8 kB / 0.8378 GB, free: 6.508 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7778/0.7782, allocations: 146.8 MB / 0.9811 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass): time 0.2461/1.024, allocations: 161 MB / 1.138 GB, free: 4.934 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.007342/1.032, allocations: 4.135 MB / 1.142 GB, free: 0.7891 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009519/1.033, allocations: 23.81 kB / 1.142 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0008789/1.034, allocations: 242.5 kB / 1.143 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003002/1.037, allocations: 0.9124 MB / 1.144 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001817/1.039, allocations: 0.5316 MB / 1.144 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002479/1.041, allocations: 1.871 MB / 1.146 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006959/1.042, allocations: 392.3 kB / 1.146 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001352/1.043, allocations: 0.5562 MB / 1.147 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007455/1.044, allocations: 470.1 kB / 1.147 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 5.964e-05/1.044, allocations: 24 kB / 1.147 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002048/1.046, allocations: 0.8068 MB / 1.148 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002515/1.046, allocations: 207.2 kB / 1.148 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001876/1.046, allocations: 153.3 kB / 1.148 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001147/1.048, allocations: 0.8652 MB / 1.149 GB, free: 9.742 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/1.048, allocations: 3.938 kB / 1.149 GB, free: 9.738 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.094e-06/1.048, allocations: 0 / 1.149 GB, free: 9.738 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.396e-06/1.048, allocations: 0 / 1.149 GB, free: 9.738 MB / 0.9044 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.001506/1.049, allocations: 0.8841 MB / 1.15 GB, free: 8.805 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/1.049, allocations: 12.03 kB / 1.15 GB, free: 8.793 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001157/1.049, allocations: 86.52 kB / 1.15 GB, free: 8.699 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001021/1.05, allocations: 171 kB / 1.15 GB, free: 8.531 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008576/1.051, allocations: 0.5132 MB / 1.151 GB, free: 7.977 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.468e-05/1.051, allocations: 33 kB / 1.151 GB, free: 7.945 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.17e-05/1.051, allocations: 40 kB / 1.151 GB, free: 7.906 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009535/1.052, allocations: 478.3 kB / 1.151 GB, free: 7.434 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/1.052, allocations: 0 / 1.151 GB, free: 7.434 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.056e-05/1.052, allocations: 20 kB / 1.151 GB, free: 7.414 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.358e-05/1.052, allocations: 13 kB / 1.151 GB, free: 7.402 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008585/1.053, allocations: 427.7 kB / 1.152 GB, free: 6.984 MB / 0.9044 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.002857/1.056, allocations: 2.024 MB / 1.154 GB, free: 4.777 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005193/1.057, allocations: 299.8 kB / 1.154 GB, free: 4.477 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003108/1.057, allocations: 196.7 kB / 1.154 GB, free: 4.281 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002825/1.057, allocations: 190.2 kB / 1.155 GB, free: 4.059 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/1.057, allocations: 38.55 kB / 1.155 GB, free: 4.012 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=30): time 2.214e-06/1.057, allocations: 0 / 1.155 GB, free: 4.012 MB / 0.9044 GB Notification: Performance of matching and sorting (n=30): time 0.001579/1.059, allocations: 0.6627 MB / 1.155 GB, free: 3.32 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/1.059, allocations: 55.41 kB / 1.155 GB, free: 3.254 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000531/1.06, allocations: 442 kB / 1.156 GB, free: 2.812 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.934e-05/1.06, allocations: 29.7 kB / 1.156 GB, free: 2.777 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002594/1.06, allocations: 284.2 kB / 1.156 GB, free: 2.492 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/1.06, allocations: 106.4 kB / 1.156 GB, free: 2.387 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.881e-05/1.06, allocations: 8 kB / 1.156 GB, free: 2.379 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002058/1.06, allocations: 362.8 kB / 1.156 GB, free: 2.016 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000246/1.06, allocations: 123.9 kB / 1.157 GB, free: 1.895 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000334/1.061, allocations: 218.2 kB / 1.157 GB, free: 1.656 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003056/1.061, allocations: 159.9 kB / 1.157 GB, free: 1.5 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/1.061, allocations: 0 / 1.157 GB, free: 1.5 MB / 0.9044 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006811/1.062, allocations: 412.8 kB / 1.157 GB, free: 1.09 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.000104/1.062, allocations: 125.5 kB / 1.157 GB, free: 0.9453 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/1.062, allocations: 0 / 1.157 GB, free: 0.9453 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/1.062, allocations: 4 kB / 1.157 GB, free: 0.9414 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003454/1.062, allocations: 75.89 kB / 1.157 GB, free: 0.8672 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/1.062, allocations: 4 kB / 1.157 GB, free: 0.8633 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004713/1.063, allocations: 67.52 kB / 1.158 GB, free: 0.7969 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-05/1.063, allocations: 20 kB / 1.158 GB, free: 0.7773 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 6.662e-06/1.063, allocations: 4 kB / 1.158 GB, free: 0.7734 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005849/1.063, allocations: 339.9 kB / 1.158 GB, free: 452 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/1.063, allocations: 12.22 kB / 1.158 GB, free: 440 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.899e-06/1.064, allocations: 4 kB / 1.158 GB, free: 436 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000277/1.064, allocations: 71.86 kB / 1.158 GB, free: 364 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/1.064, allocations: 4 kB / 1.158 GB, free: 360 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003856/1.064, allocations: 55.8 kB / 1.158 GB, free: 304 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.65e-05/1.064, allocations: 12 kB / 1.158 GB, free: 292 kB / 0.9044 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.0003104/1.065, allocations: 285 kB / 1.158 GB, free: 15.99 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.051e-05/1.065, allocations: 51.34 kB / 1.158 GB, free: 15.94 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008232/1.065, allocations: 437.3 kB / 1.159 GB, free: 15.51 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/1.065, allocations: 0 / 1.159 GB, free: 15.51 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/1.065, allocations: 4 kB / 1.159 GB, free: 15.5 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000682/1.066, allocations: 457.4 kB / 1.159 GB, free: 15.02 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001787/1.068, allocations: 1.138 MB / 1.16 GB, free: 13.8 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/1.068, allocations: 8.031 kB / 1.16 GB, free: 13.8 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002704/1.068, allocations: 55.91 kB / 1.16 GB, free: 13.74 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000241/1.069, allocations: 56.77 kB / 1.16 GB, free: 13.68 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.675e-05/1.069, allocations: 8 kB / 1.16 GB, free: 13.68 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001388/1.07, allocations: 1.437 MB / 1.162 GB, free: 12.11 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/1.07, allocations: 3.938 kB / 1.162 GB, free: 12.1 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/1.071, allocations: 0.7007 MB / 1.163 GB, free: 11.36 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002121/1.071, allocations: 168.4 kB / 1.163 GB, free: 11.18 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.982e-05/1.071, allocations: 8 kB / 1.163 GB, free: 11.17 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003833/1.072, allocations: 40.03 kB / 1.163 GB, free: 11.13 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.367e-05/1.072, allocations: 19.97 kB / 1.163 GB, free: 11.11 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-05/1.072, allocations: 12 kB / 1.163 GB, free: 11.1 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0003894/1.072, allocations: 322.8 kB / 1.163 GB, free: 10.79 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/1.072, allocations: 0 / 1.163 GB, free: 10.79 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000931/1.073, allocations: 307.2 kB / 1.163 GB, free: 10.48 MB / 0.92 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.00189/1.075, allocations: 1.341 MB / 1.165 GB, free: 9.102 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0009899/1.076, allocations: 0.4959 MB / 1.165 GB, free: 8.605 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.076, allocations: 0 / 1.165 GB, free: 8.605 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0005259/1.077, allocations: 288.3 kB / 1.165 GB, free: 8.312 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001467/1.078, allocations: 304.4 kB / 1.166 GB, free: 8.02 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005065/1.083, allocations: 3.102 MB / 1.169 GB, free: 4.84 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005414/1.084, allocations: 0.9056 MB / 1.17 GB, free: 3.906 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0006359/1.084, allocations: 164.4 kB / 1.17 GB, free: 3.742 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002718/1.085, allocations: 183.4 kB / 1.17 GB, free: 3.562 MB / 0.92 GB Notification: Performance of SimCode: time 1.402e-06/1.085, allocations: 0 / 1.17 GB, free: 3.562 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03199/1.117, allocations: 14.52 MB / 1.184 GB, free: 5.391 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002397/1.117, allocations: 282.8 kB / 1.184 GB, free: 5.023 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.188/3.305, allocations: 0 / 1.184 GB, free: 5.023 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass_res.mat does not exist to compare? outputFormat=mat