Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.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.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",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.0009396/0.0009392, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.00114/0.00114, allocations: 168.7 kB / 15.95 MB, free: 204 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.455/1.455, 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.562/2.562, allocations: 409.4 MB / 0.684 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003469/0.000347, allocations: 12 kB / 0.8378 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8006/0.8009, allocations: 146.8 MB / 0.9811 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.1864/0.9874, allocations: 173.3 MB / 1.15 GB, free: 8.508 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.008416/0.9959, allocations: 5.388 MB / 1.156 GB, free: 3.105 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001048/0.997, allocations: 31.81 kB / 1.156 GB, free: 3.074 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001129/0.9981, allocations: 393.5 kB / 1.156 GB, free: 2.688 MB / 0.9044 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003177/1.001, allocations: 1.209 MB / 1.157 GB, free: 1.473 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002716/1.004, allocations: 0.8975 MB / 1.158 GB, free: 0.5859 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003962/1.008, allocations: 2.976 MB / 1.161 GB, free: 13.61 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001421/1.009, allocations: 0.7378 MB / 1.162 GB, free: 12.85 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002247/1.012, allocations: 0.8596 MB / 1.163 GB, free: 11.99 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001719/1.013, allocations: 0.8017 MB / 1.163 GB, free: 11.18 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001411/1.014, allocations: 44 kB / 1.163 GB, free: 11.14 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002688/1.016, allocations: 0.9237 MB / 1.164 GB, free: 10.21 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0005721/1.017, allocations: 434.8 kB / 1.165 GB, free: 9.789 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003983/1.017, allocations: 249.1 kB / 1.165 GB, free: 9.539 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002208/1.02, allocations: 1.528 MB / 1.166 GB, free: 8.008 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/1.02, allocations: 0 / 1.166 GB, free: 8.008 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.144e-06/1.02, allocations: 0 / 1.166 GB, free: 8.008 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.497e-05/1.02, allocations: 4 kB / 1.166 GB, free: 8.004 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.002356/1.022, allocations: 1.301 MB / 1.168 GB, free: 6.652 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/1.022, allocations: 8.031 kB / 1.168 GB, free: 6.645 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001864/1.022, allocations: 143.3 kB / 1.168 GB, free: 6.496 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002854/1.025, allocations: 0.4904 MB / 1.168 GB, free: 6.004 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001711/1.027, allocations: 0.7895 MB / 1.169 GB, free: 5.172 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003175/1.027, allocations: 129.9 kB / 1.169 GB, free: 5.043 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001382/1.027, allocations: 91.95 kB / 1.169 GB, free: 4.953 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00224/1.03, allocations: 1.198 MB / 1.17 GB, free: 3.734 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.251e-05/1.03, allocations: 0 / 1.17 GB, free: 3.734 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001675/1.03, allocations: 39.94 kB / 1.171 GB, free: 3.695 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.783e-05/1.03, allocations: 41.98 kB / 1.171 GB, free: 3.652 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002258/1.032, allocations: 1.101 MB / 1.172 GB, free: 2.555 MB / 0.92 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.007892/1.04, allocations: 4.378 MB / 1.176 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001929/1.042, allocations: 0.8067 MB / 1.177 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001004/1.043, allocations: 422 kB / 1.177 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000209/1.043, allocations: 101.1 kB / 1.177 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/1.043, allocations: 46.56 kB / 1.177 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=43): time 2.294e-06/1.043, allocations: 0 / 1.177 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of matching and sorting (n=45): time 0.005964/1.049, allocations: 2.277 MB / 1.179 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/1.049, allocations: 59.41 kB / 1.18 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001232/1.05, allocations: 0.8568 MB / 1.18 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.91e-05/1.051, allocations: 37.7 kB / 1.18 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003695/1.051, allocations: 499.1 kB / 1.181 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001666/1.051, allocations: 165.7 kB / 1.181 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.437e-05/1.051, allocations: 12 kB / 1.181 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002053/1.051, allocations: 341.8 kB / 1.181 GB, free: 8.191 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009134/1.052, allocations: 381 kB / 1.182 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001026/1.053, allocations: 0.5209 MB / 1.182 GB, free: 7.246 MB / 0.9356 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.004242/1.058, allocations: 1.564 MB / 1.184 GB, free: 5.664 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/1.058, allocations: 0 / 1.184 GB, free: 5.664 MB / 0.9356 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002261/1.06, allocations: 1.029 MB / 1.185 GB, free: 4.629 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/1.06, allocations: 8 kB / 1.185 GB, free: 4.621 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/1.06, allocations: 0 / 1.185 GB, free: 4.621 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/1.06, allocations: 8 kB / 1.185 GB, free: 4.613 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009267/1.061, allocations: 211.8 kB / 1.185 GB, free: 4.406 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.768e-05/1.061, allocations: 8 kB / 1.185 GB, free: 4.398 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/1.062, allocations: 112.9 kB / 1.185 GB, free: 4.289 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.911e-05/1.062, allocations: 31.98 kB / 1.185 GB, free: 4.258 MB / 0.9356 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: 17 * 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 (73): * Single equations (assignments): 73 * 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.0005197/1.063, allocations: 315 kB / 1.185 GB, free: 3.941 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001912/1.063, allocations: 90.97 kB / 1.186 GB, free: 3.852 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002468/1.063, allocations: 104.8 kB / 1.186 GB, free: 3.742 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/1.063, allocations: 8 kB / 1.186 GB, free: 3.734 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/1.063, allocations: 0 / 1.186 GB, free: 3.734 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001916/1.065, allocations: 1.065 MB / 1.187 GB, free: 2.582 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00445/1.069, allocations: 2.199 MB / 1.189 GB, free: 292 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.218e-06/1.07, allocations: 11.94 kB / 1.189 GB, free: 280 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008429/1.07, allocations: 180.2 kB / 1.189 GB, free: 100 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.026e-05/1.07, allocations: 8 kB / 1.189 GB, free: 92 kB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.92e-05/1.07, allocations: 19.98 kB / 1.189 GB, free: 72 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.235e-06/1.07, allocations: 7.938 kB / 1.189 GB, free: 64 kB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/1.07, allocations: 4 kB / 1.189 GB, free: 60 kB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002897/1.073, allocations: 1.495 MB / 1.191 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004493/1.074, allocations: 259.9 kB / 1.191 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001716/1.074, allocations: 16 kB / 1.191 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009335/1.075, allocations: 101.9 kB / 1.191 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.212e-05/1.075, allocations: 35.89 kB / 1.191 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.585e-05/1.075, allocations: 31.97 kB / 1.191 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000796/1.076, allocations: 0.5927 MB / 1.192 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.9e-07/1.076, allocations: 4 kB / 1.192 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0009067/1.077, allocations: 272 kB / 1.192 GB, free: 13.2 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003573/1.08, allocations: 2.125 MB / 1.194 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002024/1.082, allocations: 0.8423 MB / 1.195 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/1.083, allocations: 4 kB / 1.195 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009246/1.083, allocations: 413 kB / 1.195 GB, free: 9.773 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002633/1.086, allocations: 0.5599 MB / 1.196 GB, free: 9.215 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01368/1.1, allocations: 6.473 MB / 1.202 GB, free: 2.492 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009746/1.101, allocations: 1.107 MB / 1.203 GB, free: 1.359 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.00139/1.102, allocations: 263.8 kB / 1.203 GB, free: 1.098 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006942/1.103, allocations: 355.3 kB / 1.204 GB, free: 0.75 MB / 0.9512 GB Notification: Performance of SimCode: time 1.242e-06/1.103, allocations: 0 / 1.204 GB, free: 0.75 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.058/1.161, allocations: 28.15 MB / 1.231 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003131/1.161, allocations: 289 kB / 1.231 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.461/3.623, allocations: 2.812 kB / 1.231 GB, free: 4.73 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat does not exist to compare? outputFormat=mat