Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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.MixingVolumeHeatConduction,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",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.7159/0.7159, allocations: 127.3 MB / 139.8 MB, free: 15.46 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.00115/0.00115, allocations: 180.8 kB / 169.7 MB, free: 1.746 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.89/1.89, allocations: 205.1 MB / 404.5 MB, free: 1.594 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.0009098/0.0009099, allocations: 98.27 kB / 481.8 MB, free: 4.234 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.737e-05/3.74e-05, allocations: 0 / 0.5533 GB, free: 54.74 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.1736, allocations: 76.76 MB / 0.6282 GB, free: 9.926 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.314/6.487, allocations: 2.147 GB / 2.776 GB, free: 180.8 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002591/6.488, allocations: 83.95 kB / 2.776 GB, free: 180.7 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.06/7.548, allocations: 263.9 MB / 3.033 GB, free: 161.3 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.172e-06/7.548, allocations: 0 / 3.033 GB, free: 161.3 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.925e-05/7.548, allocations: 22.27 kB / 3.033 GB, free: 161.3 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001843/7.55, allocations: 0.9146 MB / 3.034 GB, free: 160.7 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/7.55, allocations: 15.78 kB / 3.034 GB, free: 160.7 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001096/7.55, allocations: 101.6 kB / 3.034 GB, free: 160.7 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009117/7.551, allocations: 164.3 kB / 3.035 GB, free: 160.6 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00095/7.552, allocations: 0.5584 MB / 3.035 GB, free: 160.2 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.469e-05/7.552, allocations: 43.56 kB / 3.035 GB, free: 160.2 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.05e-05/7.552, allocations: 49.03 kB / 3.035 GB, free: 160.2 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/7.553, allocations: 0.642 MB / 3.036 GB, free: 159.9 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/7.553, allocations: 3.719 kB / 3.036 GB, free: 159.9 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.242e-05/7.553, allocations: 23.66 kB / 3.036 GB, free: 159.9 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.249e-05/7.553, allocations: 21.41 kB / 3.036 GB, free: 159.9 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000707/7.554, allocations: 474.2 kB / 3.036 GB, free: 159.7 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002959/7.557, allocations: 2.278 MB / 3.038 GB, free: 158.3 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003622/7.557, allocations: 216.2 kB / 3.039 GB, free: 158.2 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001502/7.558, allocations: 111.9 kB / 3.039 GB, free: 158.1 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.299e-05/7.558, allocations: 3.531 kB / 3.039 GB, free: 158.1 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/7.558, allocations: 42.05 kB / 3.039 GB, free: 158.1 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=20): time 2.335e-06/7.558, allocations: 0 / 3.039 GB, free: 158.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=20): time 0.0008067/7.558, allocations: 326.7 kB / 3.039 GB, free: 157.9 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/7.558, allocations: 84.47 kB / 3.039 GB, free: 157.9 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005491/7.559, allocations: 0.5063 MB / 3.04 GB, free: 157.6 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.544e-05/7.559, allocations: 33.67 kB / 3.04 GB, free: 157.6 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001974/7.559, allocations: 335.1 kB / 3.04 GB, free: 157.3 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.431e-05/7.559, allocations: 73.75 kB / 3.04 GB, free: 157.3 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.417e-05/7.559, allocations: 4 kB / 3.04 GB, free: 157.3 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000111/7.559, allocations: 367.9 kB / 3.041 GB, free: 156.9 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001499/7.56, allocations: 106 kB / 3.041 GB, free: 156.9 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002021/7.56, allocations: 209 kB / 3.041 GB, free: 156.7 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001929/7.56, allocations: 144 kB / 3.041 GB, free: 156.7 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/7.56, allocations: 7.953 kB / 3.041 GB, free: 156.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007208/7.561, allocations: 462.1 kB / 3.041 GB, free: 156.4 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/7.561, allocations: 15.95 kB / 3.041 GB, free: 156.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/7.561, allocations: 0 / 3.041 GB, free: 156.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003253/7.561, allocations: 87.28 kB / 3.041 GB, free: 156.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002972/7.561, allocations: 71.62 kB / 3.042 GB, free: 156.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002191/7.564, allocations: 2.983 MB / 3.044 GB, free: 153.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005648/7.564, allocations: 71.97 kB / 3.045 GB, free: 153.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.537e-05/7.564, allocations: 13.28 kB / 3.045 GB, free: 153.4 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 (33): * Single equations (assignments): 31 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001136/7.564, allocations: 128.5 kB / 3.045 GB, free: 153.3 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.078e-05/7.565, allocations: 65.62 kB / 3.045 GB, free: 153.3 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001064/7.565, allocations: 57.78 kB / 3.045 GB, free: 153.2 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/7.565, allocations: 3.719 kB / 3.045 GB, free: 153.2 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/7.565, allocations: 0 / 3.045 GB, free: 153.2 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004959/7.565, allocations: 499.5 kB / 3.045 GB, free: 152.8 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001155/7.566, allocations: 0.9002 MB / 3.046 GB, free: 152.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/7.566, allocations: 7.625 kB / 3.046 GB, free: 152.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001955/7.567, allocations: 40.25 kB / 3.046 GB, free: 152.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001819/7.567, allocations: 59.64 kB / 3.046 GB, free: 152 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/7.567, allocations: 11.75 kB / 3.046 GB, free: 152 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001166/7.568, allocations: 1.618 MB / 3.048 GB, free: 150.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/7.568, allocations: 0 / 3.048 GB, free: 150.5 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005373/7.568, allocations: 441.2 kB / 3.048 GB, free: 150.2 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002455/7.569, allocations: 186.4 kB / 3.048 GB, free: 150 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.97e-05/7.569, allocations: 3.984 kB / 3.048 GB, free: 150 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004877/7.569, allocations: 38.19 kB / 3.048 GB, free: 150 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.197e-05/7.569, allocations: 19.25 kB / 3.049 GB, free: 150 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-05/7.569, allocations: 14.98 kB / 3.049 GB, free: 150 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004646/7.57, allocations: 411.9 kB / 3.049 GB, free: 149.8 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.81e-07/7.57, allocations: 0 / 3.049 GB, free: 149.8 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001077/7.571, allocations: 290.8 kB / 3.049 GB, free: 149.7 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 (15): * Single equations (assignments): 14 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.002302/7.573, allocations: 1.98 MB / 3.051 GB, free: 148.3 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007446/7.574, allocations: 491.6 kB / 3.052 GB, free: 148 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/7.574, allocations: 7.906 kB / 3.052 GB, free: 148 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000241/7.574, allocations: 221.9 kB / 3.052 GB, free: 147.8 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001549/7.576, allocations: 359.6 kB / 3.052 GB, free: 147.6 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001644/7.578, allocations: 0.8262 MB / 3.053 GB, free: 147.1 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005134/7.578, allocations: 0.9281 MB / 3.054 GB, free: 146.3 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004849/7.579, allocations: 110.5 kB / 3.054 GB, free: 146.3 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002339/7.579, allocations: 195.1 kB / 3.054 GB, free: 146.1 MB / 0.6511 GB Notification: Performance of SimCode: time 1.443e-06/7.579, allocations: 3.938 kB / 3.054 GB, free: 146.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06118/7.64, allocations: 34.84 MB / 3.088 GB, free: 115.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003351/7.64, allocations: 243.2 kB / 3.088 GB, free: 115.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.26/10.9, allocations: 0 / 3.088 GB, free: 115.5 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)