Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9776/0.9776, allocations: 143.3 MB / 158.3 MB, free: 5.793 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 185 kB / 191.5 MB, free: 5.766 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.634/1.634, allocations: 223.2 MB / 447.7 MB, free: 4.82 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 92.31 kB / 0.5187 GB, free: 1.184 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001959/0.001959, allocations: 272.3 kB / 0.6005 GB, free: 48.78 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004783/0.0004785, allocations: 14.34 kB / 0.6929 GB, free: 59.57 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.1988, allocations: 82.79 MB / 0.7738 GB, free: 13.79 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.746/4.944, allocations: 1.942 GB / 2.716 GB, free: 137.9 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000278/4.945, allocations: 87.95 kB / 2.716 GB, free: 137.8 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.066/6.011, allocations: 400.9 MB / 3.107 GB, free: 24.91 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.322e-06/6.011, allocations: 4 kB / 3.107 GB, free: 24.9 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.947e-05/6.011, allocations: 12 kB / 3.107 GB, free: 24.89 MB / 0.7136 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.001653/6.012, allocations: 0.935 MB / 3.108 GB, free: 23.91 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/6.012, allocations: 8.828 kB / 3.108 GB, free: 23.9 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.54e-05/6.013, allocations: 90.64 kB / 3.108 GB, free: 23.8 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001433/6.014, allocations: 275 kB / 3.108 GB, free: 23.53 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008042/6.015, allocations: 478.5 kB / 3.109 GB, free: 23.02 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00029/6.015, allocations: 96.92 kB / 3.109 GB, free: 22.93 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.309e-05/6.015, allocations: 47.94 kB / 3.109 GB, free: 22.88 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/6.016, allocations: 0.6241 MB / 3.11 GB, free: 22.23 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/6.016, allocations: 3.938 kB / 3.11 GB, free: 22.22 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.362e-05/6.016, allocations: 24 kB / 3.11 GB, free: 22.2 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.541e-05/6.016, allocations: 17 kB / 3.11 GB, free: 22.18 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001188/6.018, allocations: 0.5777 MB / 3.11 GB, free: 21.61 MB / 0.7136 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.003034/6.021, allocations: 2.15 MB / 3.112 GB, free: 19.34 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007391/6.021, allocations: 278.4 kB / 3.113 GB, free: 19.05 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/6.021, allocations: 11.98 kB / 3.113 GB, free: 19.04 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/6.021, allocations: 42.5 kB / 3.113 GB, free: 18.99 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 1.633e-06/6.021, allocations: 0 / 3.113 GB, free: 18.99 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.004533/6.026, allocations: 1.127 MB / 3.114 GB, free: 17.84 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/6.026, allocations: 81.11 kB / 3.114 GB, free: 17.74 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00046/6.026, allocations: 498.1 kB / 3.114 GB, free: 17.24 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.571e-05/6.026, allocations: 29.7 kB / 3.114 GB, free: 17.21 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/6.027, allocations: 303.5 kB / 3.115 GB, free: 16.91 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.487e-05/6.027, allocations: 39.45 kB / 3.115 GB, free: 16.87 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.726e-05/6.027, allocations: 4 kB / 3.115 GB, free: 16.86 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.788e-05/6.027, allocations: 350.8 kB / 3.115 GB, free: 16.51 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004644/6.027, allocations: 195.8 kB / 3.115 GB, free: 16.32 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004774/6.028, allocations: 283.8 kB / 3.116 GB, free: 16 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004781/6.028, allocations: 209.5 kB / 3.116 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/6.028, allocations: 4 kB / 3.116 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002212/6.03, allocations: 0.7439 MB / 3.116 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/6.03, allocations: 9.25 kB / 3.116 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/6.031, allocations: 0 / 3.116 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005152/6.031, allocations: 176.8 kB / 3.117 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003266/6.031, allocations: 67.95 kB / 3.117 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003405/6.035, allocations: 2.168 MB / 3.119 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006452/6.035, allocations: 91.47 kB / 3.119 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.486e-05/6.035, allocations: 12 kB / 3.119 GB, free: 12.4 MB / 0.7136 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.0002754/6.036, allocations: 189.8 kB / 3.119 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.84e-05/6.036, allocations: 51.44 kB / 3.119 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.879e-05/6.036, allocations: 47.95 kB / 3.119 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/6.036, allocations: 7.953 kB / 3.119 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/6.036, allocations: 0 / 3.119 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.38e-05/6.036, allocations: 0 / 3.119 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002501/6.038, allocations: 1.133 MB / 3.12 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/6.039, allocations: 8.062 kB / 3.12 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002093/6.039, allocations: 40.36 kB / 3.12 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004192/6.039, allocations: 184.6 kB / 3.121 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/6.039, allocations: 4 kB / 3.121 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002679/6.042, allocations: 2.018 MB / 3.122 GB, free: 8.508 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/6.042, allocations: 3.953 kB / 3.122 GB, free: 8.504 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002043/6.044, allocations: 0.7348 MB / 3.123 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002755/6.044, allocations: 164.4 kB / 3.123 GB, free: 7.551 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.273e-05/6.044, allocations: 4 kB / 3.123 GB, free: 7.547 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00055/6.045, allocations: 67.84 kB / 3.123 GB, free: 7.48 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.458e-05/6.045, allocations: 7.984 kB / 3.123 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.055e-05/6.045, allocations: 19.98 kB / 3.123 GB, free: 7.453 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003931/6.045, allocations: 386.8 kB / 3.124 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/6.045, allocations: 0 / 3.124 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009674/6.046, allocations: 275.7 kB / 3.124 GB, free: 6.809 MB / 0.7136 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.003591/6.05, allocations: 2.321 MB / 3.126 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001729/6.052, allocations: 0.6175 MB / 3.127 GB, free: 3.828 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/6.052, allocations: 3.938 kB / 3.127 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005787/6.052, allocations: 303 kB / 3.127 GB, free: 3.516 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001254/6.054, allocations: 286 kB / 3.128 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3419/6.395, allocations: 4.808 MB / 3.132 GB, free: 188.2 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003514/6.396, allocations: 0.872 MB / 3.133 GB, free: 187.5 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0005973/6.396, allocations: 98.75 kB / 3.133 GB, free: 187.5 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002028/6.397, allocations: 160.3 kB / 3.133 GB, free: 187.5 MB / 0.7136 GB Notification: Performance of SimCode: time 1.333e-06/6.397, allocations: 0 / 3.133 GB, free: 187.5 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0573/6.454, allocations: 31.15 MB / 3.164 GB, free: 187.2 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002186/6.454, allocations: 284.8 kB / 3.164 GB, free: 186.8 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.093/9.547, allocations: 0 / 3.164 GB, free: 186.8 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)