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.7293/0.7293, allocations: 127.4 MB / 134.9 MB, free: 3.73 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001052/0.001052, allocations: 180.8 kB / 164.6 MB, free: 6.516 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.61/1.61, allocations: 205.2 MB / 399.5 MB, free: 5.922 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.0009281/0.0009281, allocations: 86.98 kB / 476.7 MB, free: 8.652 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.806e-05/1.81e-05, allocations: 0 / 0.5467 GB, free: 60.4 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1784, allocations: 76.76 MB / 0.6216 GB, free: 15.57 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.46/6.639, allocations: 2.147 GB / 2.769 GB, free: 39.81 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003681/6.639, allocations: 90.5 kB / 2.769 GB, free: 39.77 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.9881/7.627, allocations: 260.7 MB / 3.023 GB, free: 32.14 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.244e-06/7.627, allocations: 0 / 3.023 GB, free: 32.14 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.427e-05/7.627, allocations: 16 kB / 3.023 GB, free: 32.12 MB / 0.6355 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.001825/7.629, allocations: 0.9047 MB / 3.024 GB, free: 31.18 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/7.629, allocations: 12.03 kB / 3.024 GB, free: 31.16 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009709/7.63, allocations: 163 kB / 3.024 GB, free: 31 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008125/7.631, allocations: 0.5627 MB / 3.025 GB, free: 30.4 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/7.631, allocations: 16 kB / 3.025 GB, free: 30.38 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.941e-05/7.631, allocations: 35.94 kB / 3.025 GB, free: 30.35 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000647/7.632, allocations: 446.5 kB / 3.025 GB, free: 29.91 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007853/7.633, allocations: 0.5448 MB / 3.026 GB, free: 29.35 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/7.633, allocations: 0 / 3.026 GB, free: 29.35 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.224e-05/7.633, allocations: 3.938 kB / 3.026 GB, free: 29.34 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.001e-05/7.633, allocations: 25.31 kB / 3.026 GB, free: 29.32 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002736/7.635, allocations: 2.128 MB / 3.028 GB, free: 27.05 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003167/7.636, allocations: 206.8 kB / 3.028 GB, free: 26.84 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001254/7.636, allocations: 109.1 kB / 3.028 GB, free: 26.73 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.916e-05/7.636, allocations: 7.953 kB / 3.028 GB, free: 26.72 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/7.636, allocations: 42.56 kB / 3.028 GB, free: 26.67 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=20): time 1.353e-06/7.636, allocations: 0 / 3.028 GB, free: 26.67 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20): time 0.0006753/7.637, allocations: 294.7 kB / 3.029 GB, free: 26.37 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/7.637, allocations: 81.09 kB / 3.029 GB, free: 26.27 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003275/7.637, allocations: 373.1 kB / 3.029 GB, free: 25.9 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.147e-05/7.637, allocations: 29.7 kB / 3.029 GB, free: 25.86 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/7.637, allocations: 347.4 kB / 3.029 GB, free: 25.52 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.678e-05/7.637, allocations: 71.02 kB / 3.03 GB, free: 25.45 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.459e-05/7.637, allocations: 0 / 3.03 GB, free: 25.45 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.493e-05/7.637, allocations: 346.8 kB / 3.03 GB, free: 25.1 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/7.638, allocations: 96.61 kB / 3.03 GB, free: 25 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001733/7.638, allocations: 202 kB / 3.03 GB, free: 24.76 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/7.638, allocations: 141 kB / 3.03 GB, free: 24.62 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/7.638, allocations: 0 / 3.03 GB, free: 24.62 MB / 0.6355 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000595/7.639, allocations: 421.2 kB / 3.031 GB, free: 24.2 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/7.639, allocations: 4 kB / 3.031 GB, free: 24.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/7.639, allocations: 4 kB / 3.031 GB, free: 24.19 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003011/7.639, allocations: 93.81 kB / 3.031 GB, free: 24.09 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000287/7.639, allocations: 71.91 kB / 3.031 GB, free: 24.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001866/7.641, allocations: 2.849 MB / 3.034 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004407/7.641, allocations: 47.66 kB / 3.034 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.213e-05/7.642, allocations: 12 kB / 3.034 GB, free: 20.89 MB / 0.6355 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.0001043/7.642, allocations: 124.9 kB / 3.034 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004858/7.642, allocations: 293.6 kB / 3.034 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.054e-05/7.642, allocations: 51.66 kB / 3.034 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.568e-05/7.642, allocations: 39.62 kB / 3.034 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/7.642, allocations: 8 kB / 3.034 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/7.642, allocations: 4 kB / 3.034 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004372/7.643, allocations: 491.4 kB / 3.035 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000918/7.644, allocations: 0.8085 MB / 3.035 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/7.644, allocations: 4 kB / 3.035 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001859/7.644, allocations: 39.94 kB / 3.035 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001687/7.644, allocations: 60.75 kB / 3.036 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/7.644, allocations: 7.938 kB / 3.036 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001067/7.645, allocations: 1.538 MB / 3.037 GB, free: 17.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/7.645, allocations: 0 / 3.037 GB, free: 17.18 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004559/7.646, allocations: 420.8 kB / 3.037 GB, free: 16.73 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001784/7.646, allocations: 164.5 kB / 3.038 GB, free: 16.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.137e-05/7.646, allocations: 4.188 kB / 3.038 GB, free: 16.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004588/7.646, allocations: 35.91 kB / 3.038 GB, free: 16.51 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.799e-05/7.646, allocations: 23.92 kB / 3.038 GB, free: 16.49 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.213e-05/7.647, allocations: 23.98 kB / 3.038 GB, free: 16.46 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002483/7.647, allocations: 282.9 kB / 3.038 GB, free: 16.19 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.7e-07/7.647, allocations: 0 / 3.038 GB, free: 16.19 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001031/7.648, allocations: 275.4 kB / 3.038 GB, free: 15.92 MB / 0.6355 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.002006/7.65, allocations: 2.073 MB / 3.04 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006103/7.65, allocations: 459.2 kB / 3.041 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/7.65, allocations: 4 kB / 3.041 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002144/7.651, allocations: 218.4 kB / 3.041 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/7.652, allocations: 250.3 kB / 3.041 GB, free: 12.87 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/7.653, allocations: 0.7728 MB / 3.042 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003924/7.654, allocations: 0.9323 MB / 3.043 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000385/7.654, allocations: 95.34 kB / 3.043 GB, free: 11 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002008/7.654, allocations: 183.4 kB / 3.043 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of SimCode: time 6.81e-07/7.654, allocations: 0 / 3.043 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4717/8.126, allocations: 20.55 MB / 3.063 GB, free: 147.8 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002297/8.126, allocations: 197.7 kB / 3.063 GB, free: 147.6 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.751/10.88, allocations: 3 kB / 3.063 GB, free: 147.6 MB / 0.6355 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)