Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FMI.Validation.FlowSplitter_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001213/0.001219, allocations: 106.2 kB / 16.4 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 197.2 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6932/0.6932, allocations: 115.3 MB / 406.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 67.52 kB / 0.5572 GB, free: 32.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1437, allocations: 76.18 MB / 0.6316 GB, free: 4.945 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Validation.FlowSplitter_u): time 0.5161/0.6599, allocations: 166.1 MB / 0.7938 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005697/0.6656, allocations: 5.709 MB / 0.7993 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003825/0.6661, allocations: 5.344 kB / 0.7993 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005088/0.6666, allocations: 100.4 kB / 0.7994 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003391/0.6669, allocations: 55.64 kB / 0.7995 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001433/0.6672, allocations: 34.22 kB / 0.7995 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.000287/0.6675, allocations: 221.6 kB / 0.7997 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002227/0.6677, allocations: 87.53 kB / 0.7998 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002049/0.6679, allocations: 103.2 kB / 0.7999 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.668, allocations: 67.44 kB / 0.8 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.668, allocations: 10 kB / 0.8 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 2.098e-05/0.6681, allocations: 10.66 kB / 0.8 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.835e-05/0.6681, allocations: 38.2 kB / 0.8 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 8.753e-05/0.6682, allocations: 75.23 kB / 0.8001 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002362/0.6685, allocations: 159.4 kB / 0.8002 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.6685, allocations: 0 / 0.8002 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.302e-06/0.6685, allocations: 0 / 0.8002 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.6685, allocations: 2.969 kB / 0.8003 GB, free: 12.27 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0005879/0.6691, allocations: 436 kB / 0.8007 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.6691, allocations: 13.38 kB / 0.8007 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.162e-05/0.6692, allocations: 46.19 kB / 0.8007 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.258e-05/0.6692, allocations: 18.62 kB / 0.8007 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003459/0.6696, allocations: 257.4 kB / 0.801 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.6696, allocations: 8.453 kB / 0.801 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/0.6696, allocations: 11.53 kB / 0.801 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002443/0.6699, allocations: 174.5 kB / 0.8012 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.6699, allocations: 3.938 kB / 0.8012 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.6699, allocations: 6.25 kB / 0.8012 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.6699, allocations: 3.734 kB / 0.8012 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.6701, allocations: 63.59 kB / 0.8012 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008611/0.6709, allocations: 1.149 MB / 0.8024 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 7.281e-05/0.671, allocations: 173.1 kB / 0.8025 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.28e-05/0.6711, allocations: 82.64 kB / 0.8026 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.946e-05/0.6711, allocations: 81.66 kB / 0.8027 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.16e-05/0.6711, allocations: 105.8 kB / 0.8028 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.6711, allocations: 0 / 0.8028 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 8.535e-05/0.6712, allocations: 53.7 kB / 0.8028 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.029e-05/0.6713, allocations: 183.7 kB / 0.803 GB, free: 9.766 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002344/0.6716, allocations: 250.3 kB / 0.8033 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.6716, allocations: 26.91 kB / 0.8033 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.712e-05/0.6717, allocations: 137.4 kB / 0.8034 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.865e-06/0.6717, allocations: 0 / 0.8034 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.502e-05/0.6717, allocations: 17.94 kB / 0.8034 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.6718, allocations: 333.6 kB / 0.8038 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.96e-05/0.6719, allocations: 8.844 kB / 0.8038 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.365e-05/0.6719, allocations: 65.72 kB / 0.8038 GB, free: 9.133 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.778e-05/0.672, allocations: 50.58 kB / 0.8039 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.672, allocations: 1.75 kB / 0.8039 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001533/0.6722, allocations: 89.47 kB / 0.804 GB, free: 9.035 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.6722, allocations: 7.422 kB / 0.804 GB, free: 9.035 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.6722, allocations: 3.672 kB / 0.804 GB, free: 9.035 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.6722, allocations: 6.656 kB / 0.804 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.781e-05/0.6723, allocations: 6.094 kB / 0.804 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.6723, allocations: 1.812 kB / 0.804 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.81e-05/0.6724, allocations: 14.91 kB / 0.804 GB, free: 9.023 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.6724, allocations: 2.562 kB / 0.804 GB, free: 9.023 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001233/0.6725, allocations: 208.8 kB / 0.8042 GB, free: 8.832 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.879e-05/0.6726, allocations: 124.3 kB / 0.8043 GB, free: 8.711 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.135e-05/0.6727, allocations: 129.2 kB / 0.8044 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.977e-05/0.6727, allocations: 176.3 kB / 0.8046 GB, free: 8.41 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.55e-05/0.6728, allocations: 189.6 kB / 0.8048 GB, free: 8.223 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.047e-05/0.6729, allocations: 181.3 kB / 0.805 GB, free: 8.039 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002702/0.6732, allocations: 447.2 kB / 0.8054 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.507e-05/0.6732, allocations: 111.2 kB / 0.8055 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.896e-05/0.6733, allocations: 112.6 kB / 0.8056 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.827e-05/0.6733, allocations: 178.5 kB / 0.8058 GB, free: 7.195 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.687e-05/0.6734, allocations: 180.2 kB / 0.8059 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.57e-05/0.6735, allocations: 181.5 kB / 0.8061 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.528e-05/0.6736, allocations: 180.2 kB / 0.8063 GB, free: 6.648 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/0.6737, allocations: 320 kB / 0.8066 GB, free: 6.328 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.6738, allocations: 204.3 kB / 0.8068 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.815e-05/0.6739, allocations: 180.1 kB / 0.807 GB, free: 5.934 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.674, allocations: 107.5 kB / 0.8071 GB, free: 5.824 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.351e-05/0.6741, allocations: 176.3 kB / 0.8072 GB, free: 5.645 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.955e-05/0.6742, allocations: 111.1 kB / 0.8073 GB, free: 5.535 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001729/0.6743, allocations: 180.5 kB / 0.8075 GB, free: 5.457 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6743, allocations: 7.094 kB / 0.8075 GB, free: 5.453 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000262/0.6746, allocations: 24.47 kB / 0.8075 GB, free: 5.449 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004227/0.675, allocations: 0.8254 MB / 0.8083 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 9.133e-05/0.6751, allocations: 22.59 kB / 0.8084 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.6752, allocations: 0 / 0.8084 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.264e-06/0.6752, allocations: 0 / 0.8084 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006243/0.6758, allocations: 0.5038 MB / 0.8089 GB, free: 4.164 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001987/0.6778, allocations: 2.044 MB / 0.8109 GB, free: 2.715 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/0.6781, allocations: 0.7286 MB / 0.8116 GB, free: 2.008 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.631e-05/0.6782, allocations: 21.12 kB / 0.8116 GB, free: 2.008 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.632e-05/0.6783, allocations: 41.52 kB / 0.8116 GB, free: 2 MB / 0.5919 GB Notification: Performance of SimCode: time 2.2e-07/0.6783, allocations: 0 / 0.8116 GB, free: 2 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01975/0.698, allocations: 3.922 MB / 0.8155 GB, free: 0.5664 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.397/8.095, allocations: 17.77 kB / 0.8155 GB, free: 0.5586 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FMI.Validation.FlowSplitter_u.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FMI_Validation_FlowSplitter_u.fmu > IBPSA_latest_IBPSA.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)