Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",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.513/2.513, allocations: 393.5 MB / 408.4 MB, free: 11.08 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.001204/0.001204, allocations: 179.9 kB / 0.4901 GB, free: 2.301 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.714/1.714, allocations: 223.1 MB / 0.7992 GB, free: 14.7 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.001143/0.001143, allocations: 100 kB / 0.9396 GB, free: 1.883 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003567/0.0003565, allocations: 10.38 kB / 1.09 GB, free: 216.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.287, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.29/5.577, allocations: 1.982 GB / 3.212 GB, free: 338.1 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003035/5.578, allocations: 89.78 kB / 3.212 GB, free: 338.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.7476/6.325, allocations: 399.8 MB / 3.602 GB, free: 22.93 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.174e-06/6.325, allocations: 7.938 kB / 3.602 GB, free: 22.92 MB / 1.167 GB Notification: Performance of Transformations before backend: time 3.506e-05/6.325, allocations: 16 kB / 3.602 GB, free: 22.9 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001926/6.327, allocations: 0.9428 MB / 3.603 GB, free: 21.91 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/6.327, allocations: 8.031 kB / 3.603 GB, free: 21.9 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.754e-05/6.328, allocations: 90.52 kB / 3.603 GB, free: 21.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001515/6.329, allocations: 267 kB / 3.603 GB, free: 21.54 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008952/6.33, allocations: 481.8 kB / 3.604 GB, free: 21.03 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003032/6.33, allocations: 100.9 kB / 3.604 GB, free: 20.93 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.637e-05/6.33, allocations: 40 kB / 3.604 GB, free: 20.89 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/6.331, allocations: 0.6319 MB / 3.605 GB, free: 20.23 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/6.331, allocations: 0 / 3.605 GB, free: 20.23 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.583e-05/6.332, allocations: 20 kB / 3.605 GB, free: 20.21 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.785e-05/6.332, allocations: 17 kB / 3.605 GB, free: 20.19 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001234/6.333, allocations: 0.5777 MB / 3.605 GB, free: 19.61 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.003477/6.336, allocations: 2.16 MB / 3.607 GB, free: 17.34 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007331/6.337, allocations: 282.3 kB / 3.608 GB, free: 17.05 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.399e-05/6.337, allocations: 0 / 3.608 GB, free: 17.05 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/6.337, allocations: 50.48 kB / 3.608 GB, free: 16.99 MB / 1.167 GB Notification: Performance of pre-optimization done (n=11): time 1.673e-06/6.337, allocations: 0 / 3.608 GB, free: 16.99 MB / 1.167 GB Notification: Performance of matching and sorting (n=11): time 0.004774/6.342, allocations: 1.123 MB / 3.609 GB, free: 15.84 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/6.342, allocations: 85.05 kB / 3.609 GB, free: 15.74 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005568/6.343, allocations: 0.4902 MB / 3.609 GB, free: 15.24 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.583e-05/6.343, allocations: 25.7 kB / 3.609 GB, free: 15.21 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000177/6.343, allocations: 303.6 kB / 3.61 GB, free: 14.91 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 4.091e-05/6.343, allocations: 39.48 kB / 3.61 GB, free: 14.87 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.767e-05/6.343, allocations: 7.938 kB / 3.61 GB, free: 14.86 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001023/6.343, allocations: 362.7 kB / 3.61 GB, free: 14.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000474/6.343, allocations: 191.9 kB / 3.61 GB, free: 14.31 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005157/6.344, allocations: 271.2 kB / 3.61 GB, free: 14.01 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005061/6.345, allocations: 204.8 kB / 3.611 GB, free: 13.81 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/6.345, allocations: 0 / 3.611 GB, free: 13.81 MB / 1.167 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002419/6.347, allocations: 0.7565 MB / 3.611 GB, free: 13.05 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/6.347, allocations: 4 kB / 3.611 GB, free: 13.05 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/6.347, allocations: 4 kB / 3.611 GB, free: 13.04 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005732/6.348, allocations: 164.7 kB / 3.612 GB, free: 12.88 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003522/6.348, allocations: 83.84 kB / 3.612 GB, free: 12.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003598/6.352, allocations: 2.141 MB / 3.614 GB, free: 10.52 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007117/6.352, allocations: 95.47 kB / 3.614 GB, free: 10.43 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.93e-05/6.352, allocations: 12 kB / 3.614 GB, free: 10.42 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (26): * Single equations (assignments): 25 * 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: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003355/6.353, allocations: 197.7 kB / 3.614 GB, free: 10.21 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.163e-05/6.353, allocations: 55.41 kB / 3.614 GB, free: 10.16 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.385e-05/6.353, allocations: 44.05 kB / 3.614 GB, free: 10.11 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/6.353, allocations: 7.953 kB / 3.614 GB, free: 10.11 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/6.353, allocations: 0 / 3.614 GB, free: 10.11 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/6.353, allocations: 3.984 kB / 3.614 GB, free: 10.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002633/6.356, allocations: 1.125 MB / 3.615 GB, free: 8.91 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/6.356, allocations: 0 / 3.615 GB, free: 8.91 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002188/6.356, allocations: 51.95 kB / 3.615 GB, free: 8.859 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000433/6.356, allocations: 160.7 kB / 3.615 GB, free: 8.699 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.302e-05/6.356, allocations: 8 kB / 3.615 GB, free: 8.691 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002693/6.359, allocations: 2.026 MB / 3.617 GB, free: 6.531 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/6.359, allocations: 11.83 kB / 3.617 GB, free: 6.52 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002107/6.361, allocations: 0.731 MB / 3.618 GB, free: 5.75 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002665/6.361, allocations: 164.5 kB / 3.618 GB, free: 5.57 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.039e-05/6.361, allocations: 4 kB / 3.618 GB, free: 5.566 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005684/6.362, allocations: 59.94 kB / 3.618 GB, free: 5.508 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.739e-05/6.362, allocations: 19.92 kB / 3.618 GB, free: 5.488 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.24e-05/6.362, allocations: 11.98 kB / 3.618 GB, free: 5.477 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0004434/6.363, allocations: 394.8 kB / 3.619 GB, free: 5.094 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.21e-07/6.363, allocations: 4 kB / 3.619 GB, free: 5.09 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001113/6.364, allocations: 267.8 kB / 3.619 GB, free: 4.828 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (7): * Single equations (assignments): 6 * 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: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.004073/6.368, allocations: 2.326 MB / 3.621 GB, free: 2.48 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001848/6.37, allocations: 0.608 MB / 3.622 GB, free: 1.859 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/6.37, allocations: 0 / 3.622 GB, free: 1.859 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005672/6.37, allocations: 306.7 kB / 3.622 GB, free: 1.547 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00131/6.372, allocations: 297.4 kB / 3.622 GB, free: 1.262 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7156/7.087, allocations: 4.812 MB / 3.627 GB, free: 338.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004571/7.088, allocations: 0.8724 MB / 3.628 GB, free: 338.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0006828/7.088, allocations: 99.83 kB / 3.628 GB, free: 338.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003013/7.089, allocations: 161.2 kB / 3.628 GB, free: 338.1 MB / 1.167 GB Notification: Performance of SimCode: time 2.194e-06/7.089, allocations: 0 / 3.628 GB, free: 338.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09499/7.184, allocations: 31.14 MB / 3.659 GB, free: 337.7 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002066/7.184, allocations: 271 kB / 3.659 GB, free: 337.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.266/10.45, allocations: 3.375 kB / 3.659 GB, free: 337.4 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat does not exist to compare? outputFormat=mat