Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7125/0.7125, allocations: 127.3 MB / 139.8 MB, free: 15.45 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00104/0.00104, allocations: 176.8 kB / 169.7 MB, free: 1.754 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.739/1.739, allocations: 205.1 MB / 404.5 MB, free: 1.664 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008317/0.0008316, allocations: 82.23 kB / 481.8 MB, free: 4.316 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.498e-05/3.5e-05, allocations: 4 kB / 0.5533 GB, free: 54.75 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.1632, allocations: 76.75 MB / 0.6282 GB, free: 9.941 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.362/6.525, allocations: 2.147 GB / 2.775 GB, free: 131.4 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002931/6.526, allocations: 85.39 kB / 2.776 GB, free: 131.4 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.262/7.787, allocations: 387.1 MB / 3.154 GB, free: 4.422 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.653e-06/7.787, allocations: 0 / 3.154 GB, free: 4.422 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.961e-05/7.787, allocations: 15.98 kB / 3.154 GB, free: 4.406 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001926/7.789, allocations: 0.8958 MB / 3.154 GB, free: 3.465 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.46e-05/7.789, allocations: 8.031 kB / 3.154 GB, free: 3.457 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.898e-05/7.789, allocations: 86.52 kB / 3.155 GB, free: 3.363 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001349/7.791, allocations: 247 kB / 3.155 GB, free: 3.121 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009174/7.792, allocations: 488.2 kB / 3.155 GB, free: 2.598 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003064/7.792, allocations: 92.94 kB / 3.155 GB, free: 2.508 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.61e-05/7.792, allocations: 51.98 kB / 3.155 GB, free: 2.457 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008808/7.793, allocations: 0.5539 MB / 3.156 GB, free: 1.875 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/7.793, allocations: 7.953 kB / 3.156 GB, free: 1.867 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.711e-05/7.793, allocations: 16 kB / 3.156 GB, free: 1.852 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.375e-05/7.793, allocations: 21 kB / 3.156 GB, free: 1.832 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006263/7.794, allocations: 411.8 kB / 3.156 GB, free: 1.43 MB / 0.6511 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.5438/8.338, allocations: 2.159 MB / 3.158 GB, free: 157.9 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003697/8.338, allocations: 150.8 kB / 3.159 GB, free: 157.8 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001719/8.338, allocations: 86 kB / 3.159 GB, free: 157.8 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.469e-05/8.338, allocations: 5.391 kB / 3.159 GB, free: 157.8 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/8.338, allocations: 36.28 kB / 3.159 GB, free: 157.8 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=11): time 2.915e-06/8.338, allocations: 0 / 3.159 GB, free: 157.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.001902/8.34, allocations: 437.8 kB / 3.159 GB, free: 157.8 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/8.34, allocations: 77.89 kB / 3.159 GB, free: 157.7 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000842/8.341, allocations: 0.49 MB / 3.16 GB, free: 157.6 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.905e-05/8.341, allocations: 30.3 kB / 3.16 GB, free: 157.5 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003252/8.341, allocations: 301.8 kB / 3.16 GB, free: 157.4 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.943e-05/8.342, allocations: 45.62 kB / 3.16 GB, free: 157.4 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.328e-05/8.342, allocations: 5.344 kB / 3.16 GB, free: 157.4 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001641/8.342, allocations: 359.6 kB / 3.16 GB, free: 157.1 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002198/8.342, allocations: 102 kB / 3.16 GB, free: 157.1 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003069/8.342, allocations: 204.2 kB / 3.161 GB, free: 157 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002685/8.343, allocations: 121.6 kB / 3.161 GB, free: 157 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/8.343, allocations: 0.5 kB / 3.161 GB, free: 157 MB / 0.6511 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002076/8.345, allocations: 0.5581 MB / 3.161 GB, free: 156.9 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.031e-05/8.345, allocations: 10.02 kB / 3.161 GB, free: 156.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/8.345, allocations: 2.594 kB / 3.161 GB, free: 156.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005389/8.345, allocations: 135.3 kB / 3.161 GB, free: 156.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004279/8.346, allocations: 84.5 kB / 3.162 GB, free: 156.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002794/8.348, allocations: 1.814 MB / 3.163 GB, free: 155.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008144/8.349, allocations: 95.61 kB / 3.163 GB, free: 155.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.871e-05/8.349, allocations: 18.5 kB / 3.163 GB, free: 155.6 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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.0001777/8.35, allocations: 125 kB / 3.164 GB, free: 155.5 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/8.35, allocations: 50.31 kB / 3.164 GB, free: 155.5 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001836/8.35, allocations: 50.53 kB / 3.164 GB, free: 155.5 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/8.35, allocations: 1.594 kB / 3.164 GB, free: 155.5 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/8.35, allocations: 7.594 kB / 3.164 GB, free: 155.5 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/8.35, allocations: 1.797 kB / 3.164 GB, free: 155.5 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002617/8.353, allocations: 0.9495 MB / 3.165 GB, free: 155.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/8.353, allocations: 1 kB / 3.165 GB, free: 155.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002509/8.353, allocations: 46.55 kB / 3.165 GB, free: 155.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004027/8.353, allocations: 133.7 kB / 3.165 GB, free: 155.1 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.845e-05/8.353, allocations: 5.688 kB / 3.165 GB, free: 155.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002665/8.356, allocations: 1.793 MB / 3.167 GB, free: 153.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/8.356, allocations: 0.6562 kB / 3.167 GB, free: 153.9 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002046/8.358, allocations: 0.5596 MB / 3.167 GB, free: 153.7 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005505/8.359, allocations: 167.2 kB / 3.167 GB, free: 153.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.217e-05/8.359, allocations: 11.94 kB / 3.167 GB, free: 153.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006637/8.359, allocations: 69.91 kB / 3.167 GB, free: 153.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/8.359, allocations: 13.62 kB / 3.167 GB, free: 153.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.455e-05/8.36, allocations: 17.78 kB / 3.167 GB, free: 153.5 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0008659/8.36, allocations: 392.2 kB / 3.168 GB, free: 153.4 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.51e-07/8.36, allocations: 1.156 kB / 3.168 GB, free: 153.4 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002056/8.362, allocations: 251.2 kB / 3.168 GB, free: 153.4 MB / 0.6511 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.004599/8.367, allocations: 2.15 MB / 3.17 GB, free: 152.5 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0009938/8.368, allocations: 367.2 kB / 3.17 GB, free: 152.4 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/8.368, allocations: 0 / 3.17 GB, free: 152.4 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000397/8.369, allocations: 213.9 kB / 3.171 GB, free: 152.2 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001869/8.37, allocations: 309.7 kB / 3.171 GB, free: 152.2 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003825/8.374, allocations: 0.8604 MB / 3.172 GB, free: 152 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006232/8.375, allocations: 0.8802 MB / 3.173 GB, free: 151.3 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0007548/8.376, allocations: 99.02 kB / 3.173 GB, free: 151.3 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002901/8.376, allocations: 162.5 kB / 3.173 GB, free: 151.3 MB / 0.6511 GB Notification: Performance of SimCode: time 1.784e-06/8.376, allocations: 0 / 3.173 GB, free: 151.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09456/8.471, allocations: 34.23 MB / 3.206 GB, free: 150.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002493/8.471, allocations: 244.8 kB / 3.207 GB, free: 150 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.399/11.87, allocations: 0 / 3.207 GB, free: 150 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)