Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.Validation.MixingVolumeMassFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",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.7901/0.7901, allocations: 127.4 MB / 134.9 MB, free: 3.434 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.00108/0.00108, allocations: 176.3 kB / 164.6 MB, free: 11.62 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.918/1.918, allocations: 205.2 MB / 399.5 MB, free: 13.5 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.0009925/0.0009923, allocations: 91.8 kB / 476.7 MB, free: 1.461 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.582e-05/2.584e-05, allocations: 2.531 kB / 0.5467 GB, free: 95.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2147, allocations: 76.77 MB / 0.6216 GB, free: 42.98 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.047/6.262, allocations: 2.148 GB / 2.769 GB, free: 187.8 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003316/6.262, allocations: 88.02 kB / 2.77 GB, free: 187.8 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.049/7.311, allocations: 256.9 MB / 3.02 GB, free: 164.8 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.663e-06/7.311, allocations: 0 / 3.02 GB, free: 164.8 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.336e-05/7.312, allocations: 18.19 kB / 3.021 GB, free: 164.8 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: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.001479/7.313, allocations: 0.7963 MB / 3.021 GB, free: 164.4 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/7.313, allocations: 11.75 kB / 3.021 GB, free: 164.4 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001159/7.314, allocations: 168.9 kB / 3.021 GB, free: 164.4 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000864/7.315, allocations: 0.5387 MB / 3.022 GB, free: 164.2 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.322e-05/7.315, allocations: 15.03 kB / 3.022 GB, free: 164.2 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.081e-05/7.315, allocations: 22.84 kB / 3.022 GB, free: 164.2 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005991/7.316, allocations: 370.3 kB / 3.022 GB, free: 164.2 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006806/7.317, allocations: 454.5 kB / 3.023 GB, free: 164.1 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/7.317, allocations: 0 / 3.023 GB, free: 164.1 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.651e-05/7.317, allocations: 0 / 3.023 GB, free: 164.1 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.875e-05/7.317, allocations: 22.27 kB / 3.023 GB, free: 164.1 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002502/7.319, allocations: 1.747 MB / 3.025 GB, free: 163.4 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002885/7.319, allocations: 207.9 kB / 3.025 GB, free: 163.4 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001567/7.32, allocations: 132 kB / 3.025 GB, free: 163.3 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001635/7.32, allocations: 92.33 kB / 3.025 GB, free: 163.2 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/7.32, allocations: 41.28 kB / 3.025 GB, free: 163.2 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=22): time 1.624e-06/7.32, allocations: 0 / 3.025 GB, free: 163.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=22): time 0.0005869/7.32, allocations: 273.5 kB / 3.025 GB, free: 163.2 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.554e-05/7.32, allocations: 55.38 kB / 3.025 GB, free: 163.1 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003562/7.321, allocations: 323.8 kB / 3.026 GB, free: 163 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.576e-05/7.321, allocations: 26.95 kB / 3.026 GB, free: 163 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001948/7.321, allocations: 289.4 kB / 3.026 GB, free: 162.8 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.802e-05/7.321, allocations: 75.81 kB / 3.026 GB, free: 162.8 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.473e-05/7.321, allocations: 0 / 3.026 GB, free: 162.8 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001261/7.321, allocations: 353.8 kB / 3.026 GB, free: 162.5 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000195/7.322, allocations: 98.2 kB / 3.026 GB, free: 162.5 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002594/7.322, allocations: 186.3 kB / 3.027 GB, free: 162.4 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002412/7.322, allocations: 135.9 kB / 3.027 GB, free: 162.4 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/7.322, allocations: 4.188 kB / 3.027 GB, free: 162.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005369/7.323, allocations: 349.7 kB / 3.027 GB, free: 162.3 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/7.323, allocations: 6.781 kB / 3.027 GB, free: 162.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/7.323, allocations: 6.375 kB / 3.027 GB, free: 162.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/7.323, allocations: 3.969 kB / 3.027 GB, free: 162.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002579/7.323, allocations: 67.44 kB / 3.027 GB, free: 162.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/7.323, allocations: 3.219 kB / 3.027 GB, free: 162.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004455/7.323, allocations: 37.7 kB / 3.027 GB, free: 162.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.738e-05/7.323, allocations: 14.28 kB / 3.027 GB, free: 162.3 MB / 0.6511 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.302e-05/7.324, allocations: 119 kB / 3.027 GB, free: 162.2 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003213/7.324, allocations: 248.8 kB / 3.028 GB, free: 162.1 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.385e-05/7.324, allocations: 40.75 kB / 3.028 GB, free: 162.1 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.509e-05/7.324, allocations: 48.86 kB / 3.028 GB, free: 162.1 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/7.324, allocations: 3.469 kB / 3.028 GB, free: 162.1 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/7.324, allocations: 0 / 3.028 GB, free: 162.1 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002767/7.324, allocations: 310.1 kB / 3.028 GB, free: 161.9 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/7.325, allocations: 0.8459 MB / 3.029 GB, free: 161.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/7.326, allocations: 0 / 3.029 GB, free: 161.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002927/7.326, allocations: 62.67 kB / 3.029 GB, free: 161.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/7.326, allocations: 0 / 3.029 GB, free: 161.6 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/7.326, allocations: 6.656 kB / 3.029 GB, free: 161.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/7.326, allocations: 11.25 kB / 3.029 GB, free: 161.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/7.326, allocations: 3.953 kB / 3.029 GB, free: 161.6 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000548/7.326, allocations: 0.5552 MB / 3.029 GB, free: 161.4 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001751/7.327, allocations: 159.1 kB / 3.03 GB, free: 161.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.79e-05/7.327, allocations: 7.438 kB / 3.03 GB, free: 161.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003942/7.327, allocations: 14.98 kB / 3.03 GB, free: 161.2 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.718e-05/7.327, allocations: 25.38 kB / 3.03 GB, free: 161.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-05/7.327, allocations: 19.08 kB / 3.03 GB, free: 161.2 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002498/7.327, allocations: 255.5 kB / 3.03 GB, free: 161.2 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.31e-07/7.327, allocations: 0 / 3.03 GB, free: 161.2 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008235/7.328, allocations: 206.5 kB / 3.03 GB, free: 161.1 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (vol.dynBal.U,vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002734/7.331, allocations: 2.438 MB / 3.032 GB, free: 159.9 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004821/7.331, allocations: 238.2 kB / 3.033 GB, free: 159.9 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/7.332, allocations: 3.188 kB / 3.033 GB, free: 159.9 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001816/7.332, allocations: 100.5 kB / 3.033 GB, free: 159.9 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001319/7.333, allocations: 239.3 kB / 3.033 GB, free: 159.9 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/7.335, allocations: 0.8499 MB / 3.034 GB, free: 159.6 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003566/7.335, allocations: 0.8936 MB / 3.035 GB, free: 158.9 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004379/7.336, allocations: 119.6 kB / 3.035 GB, free: 158.9 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002075/7.336, allocations: 164.3 kB / 3.035 GB, free: 158.9 MB / 0.6511 GB Notification: Performance of SimCode: time 5.81e-07/7.336, allocations: 0 / 3.035 GB, free: 158.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04471/7.38, allocations: 18.62 MB / 3.053 GB, free: 158.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002513/7.381, allocations: 186.1 kB / 3.053 GB, free: 158.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.777/10.16, allocations: 0 / 3.053 GB, free: 158.3 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)