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.7277/0.7277, allocations: 127.3 MB / 139.8 MB, free: 15.52 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.001095/0.001095, allocations: 184.8 kB / 169.7 MB, free: 1.742 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.681/1.681, allocations: 205.1 MB / 404.5 MB, free: 1.672 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.000905/0.0009049, allocations: 90.16 kB / 481.8 MB, free: 4.324 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.986e-05/2.989e-05, allocations: 4 kB / 0.5533 GB, free: 54.77 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1643, allocations: 76.76 MB / 0.6282 GB, free: 9.957 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.126/6.29, allocations: 2.149 GB / 2.777 GB, free: 180.1 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003755/6.291, allocations: 83.95 kB / 2.777 GB, free: 180 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.9736/7.264, allocations: 260.1 MB / 3.031 GB, free: 163.8 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.324e-06/7.264, allocations: 3.938 kB / 3.031 GB, free: 163.8 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.221e-05/7.264, allocations: 15.7 kB / 3.031 GB, free: 163.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.001469/7.266, allocations: 0.7889 MB / 3.032 GB, free: 163.3 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.795e-05/7.266, allocations: 16.41 kB / 3.032 GB, free: 163.3 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001069/7.266, allocations: 80.94 kB / 3.032 GB, free: 163.2 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001156/7.267, allocations: 181.3 kB / 3.032 GB, free: 163.2 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008941/7.268, allocations: 0.5182 MB / 3.032 GB, free: 162.9 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.525e-05/7.268, allocations: 32.62 kB / 3.032 GB, free: 162.9 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.913e-05/7.268, allocations: 45.72 kB / 3.032 GB, free: 162.8 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008485/7.269, allocations: 0.521 MB / 3.033 GB, free: 162.6 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/7.269, allocations: 3.719 kB / 3.033 GB, free: 162.6 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.076e-05/7.269, allocations: 19.91 kB / 3.033 GB, free: 162.6 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.531e-05/7.269, allocations: 14.22 kB / 3.033 GB, free: 162.6 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005733/7.27, allocations: 386.8 kB / 3.033 GB, free: 162.5 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002435/7.272, allocations: 1.863 MB / 3.035 GB, free: 161.3 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003257/7.273, allocations: 222.3 kB / 3.035 GB, free: 161.2 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001779/7.273, allocations: 145 kB / 3.036 GB, free: 161.1 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001633/7.273, allocations: 95.86 kB / 3.036 GB, free: 161 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/7.273, allocations: 34.75 kB / 3.036 GB, free: 161 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=22): time 1.874e-06/7.273, allocations: 3.156 kB / 3.036 GB, free: 161 MB / 0.6511 GB Notification: Performance of matching and sorting (n=22): time 0.0006078/7.274, allocations: 302.2 kB / 3.036 GB, free: 160.8 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/7.274, allocations: 54.66 kB / 3.036 GB, free: 160.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004458/7.274, allocations: 447.1 kB / 3.036 GB, free: 160.6 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.177e-05/7.274, allocations: 25.7 kB / 3.036 GB, free: 160.5 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/7.274, allocations: 281.9 kB / 3.037 GB, free: 160.3 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.035e-05/7.274, allocations: 77.48 kB / 3.037 GB, free: 160.3 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.556e-05/7.274, allocations: 6.75 kB / 3.037 GB, free: 160.2 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001021/7.275, allocations: 356 kB / 3.037 GB, free: 159.9 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/7.275, allocations: 106.3 kB / 3.037 GB, free: 159.9 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002045/7.275, allocations: 197.3 kB / 3.037 GB, free: 159.7 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001994/7.275, allocations: 142.6 kB / 3.038 GB, free: 159.7 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/7.275, allocations: 0 / 3.038 GB, free: 159.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004925/7.276, allocations: 381.8 kB / 3.038 GB, free: 159.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/7.276, allocations: 7.156 kB / 3.038 GB, free: 159.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/7.276, allocations: 3.406 kB / 3.038 GB, free: 159.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/7.276, allocations: 3.938 kB / 3.038 GB, free: 159.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002511/7.276, allocations: 62.97 kB / 3.038 GB, free: 159.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.583e-05/7.276, allocations: 15.02 kB / 3.038 GB, free: 159.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004609/7.276, allocations: 53.75 kB / 3.038 GB, free: 159.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.63e-05/7.276, allocations: 14.81 kB / 3.038 GB, free: 159.5 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.036e-05/7.277, allocations: 119.9 kB / 3.038 GB, free: 159.4 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.833e-05/7.277, allocations: 51.56 kB / 3.038 GB, free: 159.3 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/7.277, allocations: 53.92 kB / 3.038 GB, free: 159.3 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/7.277, allocations: 3.938 kB / 3.038 GB, free: 159.3 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/7.277, allocations: 0 / 3.038 GB, free: 159.3 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003281/7.277, allocations: 337.3 kB / 3.039 GB, free: 159.1 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/7.278, allocations: 0.9215 MB / 3.04 GB, free: 158.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/7.278, allocations: 0 / 3.04 GB, free: 158.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002693/7.279, allocations: 54.64 kB / 3.04 GB, free: 158.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/7.279, allocations: 12.02 kB / 3.04 GB, free: 158.5 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.192e-05/7.279, allocations: 10.3 kB / 3.04 GB, free: 158.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/7.279, allocations: 2.844 kB / 3.04 GB, free: 158.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/7.279, allocations: 3.188 kB / 3.04 GB, free: 158.5 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006429/7.279, allocations: 0.5816 MB / 3.04 GB, free: 158.1 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002032/7.28, allocations: 178.4 kB / 3.04 GB, free: 157.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.401e-05/7.28, allocations: 4.938 kB / 3.04 GB, free: 157.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004395/7.28, allocations: 37.72 kB / 3.04 GB, free: 157.9 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.134e-05/7.28, allocations: 14.84 kB / 3.04 GB, free: 157.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.749e-05/7.28, allocations: 15.64 kB / 3.04 GB, free: 157.9 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004975/7.281, allocations: 361.2 kB / 3.041 GB, free: 157.7 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.51e-07/7.281, allocations: 0 / 3.041 GB, free: 157.7 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001096/7.282, allocations: 233.6 kB / 3.041 GB, free: 157.7 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.003222/7.285, allocations: 2.337 MB / 3.043 GB, free: 156 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006001/7.286, allocations: 250.5 kB / 3.044 GB, free: 155.9 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/7.286, allocations: 0.5625 kB / 3.044 GB, free: 155.9 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001513/7.286, allocations: 120.2 kB / 3.044 GB, free: 155.8 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00176/7.288, allocations: 312.8 kB / 3.044 GB, free: 155.7 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001855/7.289, allocations: 0.8856 MB / 3.045 GB, free: 155.1 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/7.29, allocations: 0.8925 MB / 3.046 GB, free: 154.3 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004985/7.29, allocations: 123.3 kB / 3.046 GB, free: 154.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000216/7.291, allocations: 168.6 kB / 3.046 GB, free: 154.1 MB / 0.6511 GB Notification: Performance of SimCode: time 1.012e-06/7.291, allocations: 4 kB / 3.046 GB, free: 154.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05431/7.345, allocations: 31.91 MB / 3.077 GB, free: 128.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001498/7.345, allocations: 215.8 kB / 3.077 GB, free: 128.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.083/10.43, allocations: 0 / 3.077 GB, free: 128.1 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)