Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 181.5 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5832/0.5832, allocations: 91.98 MB / 108.5 MB, free: 13.06 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.646/1.646, allocations: 223.2 MB / 354.3 MB, free: 10.42 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 103.1 kB / 427.4 MB, free: 2.141 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003341/0.000334, allocations: 11.98 kB / 0.4983 GB, free: 41.96 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1559, allocations: 72.31 MB / 0.5689 GB, free: 1.586 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.765/4.921, allocations: 1.935 GB / 2.504 GB, free: 148.1 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002765/4.921, allocations: 89.27 kB / 2.504 GB, free: 148.1 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.434/6.356, allocations: 399.7 MB / 2.894 GB, free: 138.1 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.934e-06/6.356, allocations: 3.562 kB / 2.894 GB, free: 138.1 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.966e-05/6.356, allocations: 19.09 kB / 2.894 GB, free: 138.1 MB / 0.6042 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.002706/6.358, allocations: 0.943 MB / 2.895 GB, free: 137.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/6.358, allocations: 9.672 kB / 2.895 GB, free: 137.7 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002426/6.359, allocations: 91.56 kB / 2.895 GB, free: 137.6 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001845/6.361, allocations: 264.2 kB / 2.896 GB, free: 137.6 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001371/6.362, allocations: 486.3 kB / 2.896 GB, free: 137.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003564/6.362, allocations: 96.16 kB / 2.896 GB, free: 137.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/6.362, allocations: 44.66 kB / 2.896 GB, free: 137.4 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001502/6.364, allocations: 0.6354 MB / 2.897 GB, free: 137.3 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/6.364, allocations: 0 / 2.897 GB, free: 137.3 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.96e-05/6.364, allocations: 17.75 kB / 2.897 GB, free: 137.3 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.732e-05/6.364, allocations: 20.92 kB / 2.897 GB, free: 137.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001547/6.366, allocations: 0.5793 MB / 2.897 GB, free: 137.3 MB / 0.6042 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.004354/6.37, allocations: 2.16 MB / 2.9 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008976/6.371, allocations: 285 kB / 2.9 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.11e-05/6.371, allocations: 5.875 kB / 2.9 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/6.371, allocations: 38.91 kB / 2.9 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 2.324e-06/6.371, allocations: 0 / 2.9 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.005478/6.377, allocations: 1.128 MB / 2.901 GB, free: 136.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.373e-05/6.377, allocations: 79.27 kB / 2.901 GB, free: 136 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/6.378, allocations: 0.4888 MB / 2.902 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.551e-05/6.378, allocations: 31.05 kB / 2.902 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002564/6.378, allocations: 302.3 kB / 2.902 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8e-05/6.378, allocations: 36.69 kB / 2.902 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.397e-05/6.378, allocations: 4.188 kB / 2.902 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001483/6.378, allocations: 363.1 kB / 2.902 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000627/6.379, allocations: 187.7 kB / 2.902 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006646/6.38, allocations: 276.5 kB / 2.903 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000647/6.38, allocations: 203 kB / 2.903 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.626e-06/6.38, allocations: 1.125 kB / 2.903 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002995/6.383, allocations: 0.7557 MB / 2.904 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/6.383, allocations: 8.219 kB / 2.904 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/6.383, allocations: 2.562 kB / 2.904 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006427/6.384, allocations: 170.8 kB / 2.904 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004037/6.384, allocations: 81.19 kB / 2.904 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004151/6.389, allocations: 2.145 MB / 2.906 GB, free: 134 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008142/6.389, allocations: 91.58 kB / 2.906 GB, free: 133.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.014e-05/6.389, allocations: 15.94 kB / 2.906 GB, free: 133.9 MB / 0.6042 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.0003741/6.39, allocations: 197 kB / 2.906 GB, free: 133.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001634/6.39, allocations: 49.53 kB / 2.906 GB, free: 133.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001944/6.39, allocations: 49.53 kB / 2.906 GB, free: 133.8 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/6.39, allocations: 4.75 kB / 2.906 GB, free: 133.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/6.39, allocations: 0.5 kB / 2.906 GB, free: 133.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/6.39, allocations: 0.5938 kB / 2.906 GB, free: 133.8 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003282/6.394, allocations: 1.125 MB / 2.907 GB, free: 133.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/6.394, allocations: 4.672 kB / 2.907 GB, free: 133.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002462/6.394, allocations: 46.88 kB / 2.907 GB, free: 133.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005493/6.394, allocations: 166.4 kB / 2.908 GB, free: 133.5 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.311e-05/6.394, allocations: 7.5 kB / 2.908 GB, free: 133.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003104/6.398, allocations: 2.027 MB / 2.91 GB, free: 132.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/6.398, allocations: 1 kB / 2.91 GB, free: 132.2 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002617/6.4, allocations: 0.7424 MB / 2.91 GB, free: 132 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000402/6.401, allocations: 164.8 kB / 2.911 GB, free: 131.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001332/6.401, allocations: 7.172 kB / 2.911 GB, free: 131.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007232/6.401, allocations: 65.89 kB / 2.911 GB, free: 131.9 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.3e-05/6.402, allocations: 13.17 kB / 2.911 GB, free: 131.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.772e-05/6.402, allocations: 11.56 kB / 2.911 GB, free: 131.9 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0007919/6.402, allocations: 389.1 kB / 2.911 GB, free: 131.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/6.402, allocations: 1.375 kB / 2.911 GB, free: 131.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001456/6.404, allocations: 261 kB / 2.911 GB, free: 131.8 MB / 0.6042 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.005174/6.409, allocations: 2.333 MB / 2.914 GB, free: 130.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002094/6.411, allocations: 0.6139 MB / 2.914 GB, free: 130.6 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.77e-06/6.411, allocations: 0.8438 kB / 2.914 GB, free: 130.6 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006772/6.412, allocations: 302.3 kB / 2.914 GB, free: 130.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001554/6.413, allocations: 301.9 kB / 2.915 GB, free: 130.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008685/6.422, allocations: 4.814 MB / 2.919 GB, free: 128.2 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/6.423, allocations: 0.873 MB / 2.92 GB, free: 127.5 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000524/6.423, allocations: 102.9 kB / 2.92 GB, free: 127.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002117/6.423, allocations: 162.7 kB / 2.92 GB, free: 127.5 MB / 0.6042 GB Notification: Performance of SimCode: time 6.542e-06/6.423, allocations: 0 / 2.92 GB, free: 127.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05006/6.473, allocations: 31.14 MB / 2.951 GB, free: 126.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001657/6.474, allocations: 265.7 kB / 2.951 GB, free: 125.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.925/9.398, allocations: 6.469 kB / 2.951 GB, free: 125.9 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)