Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",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.317/2.317, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.001831/0.001831, allocations: 172.8 kB / 487.4 MB, free: 5.047 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.481/1.481, allocations: 221.5 MB / 0.7824 GB, free: 0.8945 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.001052, allocations: 102.1 kB / 0.9219 GB, free: 2.133 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.788e-05/1.791e-05, allocations: 4 kB / 1.067 GB, free: 185.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2541, allocations: 142.4 MB / 1.206 GB, free: 43.82 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.043/5.297, allocations: 1.919 GB / 3.125 GB, free: 431.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003447/5.297, allocations: 92.64 kB / 3.125 GB, free: 431.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.762/7.059, allocations: 0.5658 GB / 3.691 GB, free: 279.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.403e-06/7.059, allocations: 0 / 3.691 GB, free: 279.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.353e-05/7.06, allocations: 28.89 kB / 3.691 GB, free: 279.9 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002377/7.062, allocations: 1.25 MB / 3.693 GB, free: 279.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/7.062, allocations: 7.5 kB / 3.693 GB, free: 279.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00183/7.064, allocations: 332.5 kB / 3.693 GB, free: 279 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/7.065, allocations: 0.7907 MB / 3.694 GB, free: 278.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003196/7.065, allocations: 98.94 kB / 3.694 GB, free: 278.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/7.066, allocations: 54.55 kB / 3.694 GB, free: 278.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001074/7.067, allocations: 0.6857 MB / 3.694 GB, free: 278.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/7.068, allocations: 0.8698 MB / 3.695 GB, free: 277.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.41e-05/7.068, allocations: 0 / 3.695 GB, free: 277.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.669e-05/7.068, allocations: 2.688 kB / 3.695 GB, free: 277.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-05/7.068, allocations: 35.86 kB / 3.695 GB, free: 277.6 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.004414/7.072, allocations: 3.809 MB / 3.699 GB, free: 274.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004634/7.073, allocations: 345.7 kB / 3.699 GB, free: 274.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002285/7.073, allocations: 193.6 kB / 3.7 GB, free: 274.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001733/7.073, allocations: 100.5 kB / 3.7 GB, free: 274.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/7.073, allocations: 38.5 kB / 3.7 GB, free: 274.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=36): time 1.683e-06/7.073, allocations: 3 kB / 3.7 GB, free: 274.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=38): time 0.002006/7.075, allocations: 1.089 MB / 3.701 GB, free: 273.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.285e-05/7.075, allocations: 55.06 kB / 3.701 GB, free: 273.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005958/7.076, allocations: 0.5639 MB / 3.701 GB, free: 273 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.869e-05/7.076, allocations: 25.7 kB / 3.701 GB, free: 272.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002393/7.076, allocations: 0.4954 MB / 3.702 GB, free: 272.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.023e-05/7.076, allocations: 128.6 kB / 3.702 GB, free: 272.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.688e-05/7.076, allocations: 0 / 3.702 GB, free: 272.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.976e-05/7.077, allocations: 379.5 kB / 3.702 GB, free: 272 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002462/7.077, allocations: 192.3 kB / 3.703 GB, free: 271.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003204/7.077, allocations: 349.9 kB / 3.703 GB, free: 271.6 MB / 1.151 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001644/7.079, allocations: 0.7002 MB / 3.704 GB, free: 271.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/7.079, allocations: 3.625 kB / 3.704 GB, free: 271.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008663/7.08, allocations: 0.619 MB / 3.704 GB, free: 270.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/7.08, allocations: 8 kB / 3.704 GB, free: 270.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/7.08, allocations: 3.219 kB / 3.704 GB, free: 270.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.387e-05/7.08, allocations: 14.44 kB / 3.704 GB, free: 270.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005303/7.08, allocations: 142.7 kB / 3.704 GB, free: 270.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.505e-05/7.08, allocations: 17.7 kB / 3.704 GB, free: 270.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008593/7.081, allocations: 80.56 kB / 3.704 GB, free: 270.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.76e-05/7.081, allocations: 29.92 kB / 3.704 GB, free: 270.9 MB / 1.151 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 71 * 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.0001271/7.081, allocations: 128.3 kB / 3.705 GB, free: 270.8 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000491/7.082, allocations: 399.7 kB / 3.705 GB, free: 270.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.603e-05/7.082, allocations: 75.19 kB / 3.705 GB, free: 270.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001563/7.082, allocations: 75.84 kB / 3.705 GB, free: 270.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/7.082, allocations: 7.609 kB / 3.705 GB, free: 270.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/7.082, allocations: 0 / 3.705 GB, free: 270.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004858/7.083, allocations: 0.6424 MB / 3.706 GB, free: 269.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001973/7.085, allocations: 1.428 MB / 3.707 GB, free: 268.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.229e-06/7.085, allocations: 3.562 kB / 3.707 GB, free: 268.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000364/7.085, allocations: 89.58 kB / 3.707 GB, free: 268.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.988e-06/7.085, allocations: 14.19 kB / 3.707 GB, free: 268.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.903e-05/7.085, allocations: 11.31 kB / 3.707 GB, free: 268.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.6e-06/7.085, allocations: 3.25 kB / 3.707 GB, free: 268.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/7.085, allocations: 3.938 kB / 3.707 GB, free: 268.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008942/7.086, allocations: 0.9589 MB / 3.708 GB, free: 268 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002505/7.086, allocations: 206.1 kB / 3.708 GB, free: 267.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.32e-05/7.086, allocations: 6.688 kB / 3.708 GB, free: 267.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006579/7.087, allocations: 53.7 kB / 3.708 GB, free: 267.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.619e-05/7.087, allocations: 34.83 kB / 3.708 GB, free: 267.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.316e-05/7.087, allocations: 25.83 kB / 3.708 GB, free: 267.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004352/7.088, allocations: 442.4 kB / 3.709 GB, free: 267.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.7e-07/7.088, allocations: 0 / 3.709 GB, free: 267.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001136/7.089, allocations: 319.9 kB / 3.709 GB, free: 267.5 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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 Backend phase and start with SimCode phase: time 0.002849/7.092, allocations: 3.987 MB / 3.713 GB, free: 264.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0006905/7.092, allocations: 430.5 kB / 3.714 GB, free: 264.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/7.092, allocations: 0 / 3.714 GB, free: 264.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002019/7.093, allocations: 176.7 kB / 3.714 GB, free: 264.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001837/7.094, allocations: 409.5 kB / 3.714 GB, free: 264.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002715/7.097, allocations: 1.585 MB / 3.716 GB, free: 263.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005232/7.098, allocations: 1.115 MB / 3.717 GB, free: 262.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0007312/7.098, allocations: 209.2 kB / 3.717 GB, free: 262.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003741/7.099, allocations: 335.2 kB / 3.717 GB, free: 262 MB / 1.151 GB Notification: Performance of SimCode: time 7.21e-07/7.099, allocations: 3.938 kB / 3.717 GB, free: 261.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05569/7.154, allocations: 30.07 MB / 3.747 GB, free: 233.1 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001815/7.155, allocations: 182.3 kB / 3.747 GB, free: 232.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.175/10.33, allocations: 0 / 3.747 GB, free: 232.9 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat does not exist to compare? outputFormat=mat