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.816/0.816, allocations: 141.8 MB / 149.3 MB, free: 9.188 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.0011/0.0011, allocations: 180.9 kB / 182.2 MB, free: 9.418 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.448/1.448, allocations: 221.5 MB / 436.4 MB, free: 13.32 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.0008959/0.0008959, allocations: 88.11 kB / 0.5074 GB, free: 10.15 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001815/0.001815, allocations: 276.4 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.101e-05/2.095e-05, allocations: 4 kB / 0.6766 GB, free: 12.71 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4377/0.4377, allocations: 82.77 MB / 0.7575 GB, free: 31.96 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.039/5.476, allocations: 1.941 GB / 2.699 GB, free: 80.31 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002649/5.477, allocations: 86.5 kB / 2.699 GB, free: 80.27 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.877/7.354, allocations: 396.1 MB / 3.085 GB, free: 190.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.134e-06/7.354, allocations: 0 / 3.085 GB, free: 190.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.016e-05/7.354, allocations: 17.5 kB / 3.085 GB, free: 190.2 MB / 0.698 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.002156/7.356, allocations: 0.8766 MB / 3.086 GB, free: 189.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.728e-05/7.356, allocations: 13.38 kB / 3.086 GB, free: 189.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001614/7.357, allocations: 260.2 kB / 3.087 GB, free: 189.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/7.359, allocations: 484 kB / 3.087 GB, free: 189.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003637/7.359, allocations: 89.14 kB / 3.087 GB, free: 189.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.533e-05/7.359, allocations: 25.06 kB / 3.087 GB, free: 189.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006832/7.36, allocations: 384.4 kB / 3.087 GB, free: 189.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007522/7.36, allocations: 493 kB / 3.088 GB, free: 189.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/7.36, allocations: 1.688 kB / 3.088 GB, free: 189.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.218e-05/7.361, allocations: 5.734 kB / 3.088 GB, free: 189.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-05/7.361, allocations: 18.72 kB / 3.088 GB, free: 189.3 MB / 0.698 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.003405/7.364, allocations: 2.03 MB / 3.09 GB, free: 188.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002464/7.364, allocations: 153.5 kB / 3.09 GB, free: 188.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001283/7.364, allocations: 81.16 kB / 3.09 GB, free: 188.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.03e-05/7.364, allocations: 3.938 kB / 3.09 GB, free: 188.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/7.364, allocations: 40.31 kB / 3.09 GB, free: 188.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 1.583e-06/7.364, allocations: 0 / 3.09 GB, free: 188.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.001699/7.366, allocations: 429.1 kB / 3.091 GB, free: 188.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/7.366, allocations: 81.05 kB / 3.091 GB, free: 188.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004048/7.367, allocations: 348.5 kB / 3.091 GB, free: 188.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.378e-05/7.367, allocations: 25.7 kB / 3.091 GB, free: 188 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002141/7.367, allocations: 312.1 kB / 3.091 GB, free: 187.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.497e-05/7.367, allocations: 40.66 kB / 3.091 GB, free: 187.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.974e-05/7.367, allocations: 3.938 kB / 3.091 GB, free: 187.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001103/7.367, allocations: 349 kB / 3.092 GB, free: 187.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/7.367, allocations: 103 kB / 3.092 GB, free: 187.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002043/7.367, allocations: 178.8 kB / 3.092 GB, free: 187.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000237/7.368, allocations: 134.8 kB / 3.092 GB, free: 187.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/7.368, allocations: 2.906 kB / 3.092 GB, free: 187.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00162/7.369, allocations: 0.528 MB / 3.093 GB, free: 187.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/7.369, allocations: 11.42 kB / 3.093 GB, free: 187.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/7.369, allocations: 3.875 kB / 3.093 GB, free: 187.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004208/7.37, allocations: 125.1 kB / 3.093 GB, free: 187.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003475/7.37, allocations: 77.56 kB / 3.093 GB, free: 187.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002338/7.373, allocations: 1.756 MB / 3.095 GB, free: 186.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006208/7.373, allocations: 68.3 kB / 3.095 GB, free: 186.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.474e-05/7.373, allocations: 20.22 kB / 3.095 GB, free: 186.2 MB / 0.698 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaFlo.Q_flow:VARIABLE(unit = "W" ) "Heat flow from port_a to port_b as output signal" type: Real 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 () * 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.0002245/7.373, allocations: 118.3 kB / 3.095 GB, free: 186.1 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001519/7.375, allocations: 417 kB / 3.095 GB, free: 186 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8e-05/7.375, allocations: 38.5 kB / 3.095 GB, free: 186 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001253/7.375, allocations: 43.22 kB / 3.095 GB, free: 186 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.686e-06/7.375, allocations: 0 / 3.095 GB, free: 186 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/7.375, allocations: 3.844 kB / 3.095 GB, free: 186 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/7.375, allocations: 0 / 3.095 GB, free: 186 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002097/7.377, allocations: 0.8853 MB / 3.096 GB, free: 185.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/7.377, allocations: 3.906 kB / 3.096 GB, free: 185.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002193/7.378, allocations: 47.89 kB / 3.096 GB, free: 185.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003113/7.378, allocations: 130.5 kB / 3.096 GB, free: 185.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.456e-05/7.378, allocations: 6.984 kB / 3.096 GB, free: 185.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002099/7.38, allocations: 1.739 MB / 3.098 GB, free: 184.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/7.38, allocations: 0 / 3.098 GB, free: 184.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001553/7.382, allocations: 0.5452 MB / 3.099 GB, free: 184.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002205/7.382, allocations: 152.9 kB / 3.099 GB, free: 184.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.47e-05/7.382, allocations: 0 / 3.099 GB, free: 184.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005426/7.382, allocations: 59.86 kB / 3.099 GB, free: 184.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.799e-05/7.383, allocations: 21.78 kB / 3.099 GB, free: 184.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.895e-05/7.383, allocations: 21.11 kB / 3.099 GB, free: 184.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003455/7.383, allocations: 264 kB / 3.099 GB, free: 184.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.71e-07/7.383, allocations: 0 / 3.099 GB, free: 184.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001187/7.384, allocations: 261.6 kB / 3.099 GB, free: 184 MB / 0.698 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 () * 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.00344/7.388, allocations: 2.256 MB / 3.101 GB, free: 183 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006876/7.388, allocations: 357.9 kB / 3.102 GB, free: 182.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/7.388, allocations: 0 / 3.102 GB, free: 182.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002704/7.389, allocations: 204.7 kB / 3.102 GB, free: 182.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009995/7.39, allocations: 190.7 kB / 3.102 GB, free: 182.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00278/7.392, allocations: 0.8001 MB / 3.103 GB, free: 182.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/7.393, allocations: 0.877 MB / 3.104 GB, free: 181.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004039/7.393, allocations: 71.41 kB / 3.104 GB, free: 181.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001924/7.393, allocations: 154.4 kB / 3.104 GB, free: 181.8 MB / 0.698 GB Notification: Performance of SimCode: time 1.052e-06/7.393, allocations: 2.594 kB / 3.104 GB, free: 181.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04481/7.438, allocations: 19.35 MB / 3.123 GB, free: 181.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001853/7.438, allocations: 203 kB / 3.123 GB, free: 180.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.717/10.16, allocations: 2.109 kB / 3.123 GB, free: 180.8 MB / 0.698 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)