Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.752/1.752, allocations: 288.2 MB / 303.2 MB, free: 8.078 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001223/0.001224, allocations: 191.2 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.806/1.806, allocations: 205.4 MB / 0.6305 GB, free: 9.996 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001053/0.001053, allocations: 85.17 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004055/0.000406, allocations: 10.78 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.2531, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.7594/1.012, allocations: 139.2 MB / 1.115 GB, free: 1.695 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.005537/1.018, allocations: 4.455 MB / 1.12 GB, free: 1.367 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002983/1.018, allocations: 11.28 kB / 1.12 GB, free: 1.359 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003312/1.019, allocations: 41.3 kB / 1.12 GB, free: 1.348 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0002911/1.019, allocations: 76.41 kB / 1.12 GB, free: 1.344 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.000129/1.019, allocations: 27.66 kB / 1.12 GB, free: 1.344 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0003768/1.02, allocations: 180 kB / 1.12 GB, free: 1.328 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002135/1.02, allocations: 75.84 kB / 1.12 GB, free: 1.309 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002235/1.02, allocations: 78.25 kB / 1.12 GB, free: 1.293 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/1.02, allocations: 44.19 kB / 1.12 GB, free: 1.277 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/1.02, allocations: 6.562 kB / 1.12 GB, free: 1.273 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 2.14e-05/1.02, allocations: 6.719 kB / 1.12 GB, free: 1.27 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 3.206e-05/1.02, allocations: 15.39 kB / 1.12 GB, free: 1.266 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001191/1.02, allocations: 52.72 kB / 1.12 GB, free: 17.23 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001786/1.021, allocations: 115.1 kB / 1.12 GB, free: 17.22 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/1.021, allocations: 0 / 1.12 GB, free: 17.22 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.763e-06/1.021, allocations: 0 / 1.12 GB, free: 17.22 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.504e-06/1.021, allocations: 0 / 1.12 GB, free: 17.22 MB / 0.698 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.0006322/1.021, allocations: 417.6 kB / 1.121 GB, free: 16.83 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/1.021, allocations: 16.45 kB / 1.121 GB, free: 16.82 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.226e-05/1.021, allocations: 57.11 kB / 1.121 GB, free: 16.78 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.7e-05/1.021, allocations: 16.69 kB / 1.121 GB, free: 16.77 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003031/1.022, allocations: 232.9 kB / 1.121 GB, free: 16.57 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/1.022, allocations: 8.656 kB / 1.121 GB, free: 16.57 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/1.022, allocations: 11.09 kB / 1.121 GB, free: 16.57 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002483/1.022, allocations: 168.2 kB / 1.121 GB, free: 16.46 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/1.022, allocations: 3.938 kB / 1.121 GB, free: 16.46 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/1.022, allocations: 4.5 kB / 1.121 GB, free: 16.46 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/1.022, allocations: 7.422 kB / 1.121 GB, free: 16.46 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/1.022, allocations: 68.14 kB / 1.121 GB, free: 16.45 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001017/1.023, allocations: 1.146 MB / 1.122 GB, free: 15.43 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.097e-05/1.023, allocations: 174.5 kB / 1.123 GB, free: 15.25 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.015e-05/1.023, allocations: 85.08 kB / 1.123 GB, free: 15.16 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.896e-05/1.023, allocations: 110.5 kB / 1.123 GB, free: 15.05 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/1.023, allocations: 0 / 1.123 GB, free: 15.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 8.763e-05/1.024, allocations: 45.3 kB / 1.123 GB, free: 15.01 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.545e-05/1.024, allocations: 182 kB / 1.123 GB, free: 14.81 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003167/1.024, allocations: 250.2 kB / 1.123 GB, free: 14.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/1.024, allocations: 31.05 kB / 1.123 GB, free: 14.66 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/1.024, allocations: 134.2 kB / 1.123 GB, free: 14.57 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.25e-06/1.024, allocations: 3.312 kB / 1.123 GB, free: 14.57 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-06/1.024, allocations: 0 / 1.123 GB, free: 14.57 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001642/1.024, allocations: 325.4 kB / 1.124 GB, free: 14.26 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.8e-05/1.024, allocations: 10.41 kB / 1.124 GB, free: 14.26 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.721e-05/1.024, allocations: 69.14 kB / 1.124 GB, free: 14.18 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.27e-05/1.024, allocations: 22.3 kB / 1.124 GB, free: 14.18 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.025, allocations: 0 / 1.124 GB, free: 14.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001584/1.025, allocations: 86.7 kB / 1.124 GB, free: 14.13 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/1.025, allocations: 12.39 kB / 1.124 GB, free: 14.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/1.025, allocations: 1.859 kB / 1.124 GB, free: 14.12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/1.025, allocations: 4.234 kB / 1.124 GB, free: 14.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.197e-05/1.025, allocations: 15.44 kB / 1.124 GB, free: 14.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/1.025, allocations: 2.125 kB / 1.124 GB, free: 14.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.266e-05/1.025, allocations: 15.58 kB / 1.124 GB, free: 14.11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-06/1.025, allocations: 1.531 kB / 1.124 GB, free: 14.11 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001441/1.025, allocations: 208 kB / 1.124 GB, free: 13.92 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.601e-05/1.025, allocations: 121.7 kB / 1.124 GB, free: 13.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.586e-05/1.025, allocations: 122.4 kB / 1.124 GB, free: 13.68 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.107e-05/1.025, allocations: 177.5 kB / 1.125 GB, free: 13.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.965e-05/1.025, allocations: 187.5 kB / 1.125 GB, free: 13.32 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.013e-05/1.026, allocations: 177.8 kB / 1.125 GB, free: 13.14 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003011/1.026, allocations: 455.8 kB / 1.125 GB, free: 12.69 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.8e-05/1.026, allocations: 103.9 kB / 1.125 GB, free: 12.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.415e-05/1.026, allocations: 102 kB / 1.126 GB, free: 12.48 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.625e-05/1.026, allocations: 185.2 kB / 1.126 GB, free: 12.29 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001059/1.026, allocations: 180.1 kB / 1.126 GB, free: 12.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.226e-05/1.026, allocations: 191.5 kB / 1.126 GB, free: 11.92 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001022/1.026, allocations: 180.1 kB / 1.126 GB, free: 11.74 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000193/1.027, allocations: 318.9 kB / 1.127 GB, free: 11.42 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001625/1.027, allocations: 192.6 kB / 1.127 GB, free: 11.21 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/1.027, allocations: 188.1 kB / 1.127 GB, free: 11.03 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/1.027, allocations: 110.3 kB / 1.127 GB, free: 10.92 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.329e-05/1.027, allocations: 183.4 kB / 1.127 GB, free: 10.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-05/1.027, allocations: 106 kB / 1.127 GB, free: 10.62 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001988/1.027, allocations: 180.5 kB / 1.128 GB, free: 10.55 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/1.027, allocations: 1.312 kB / 1.128 GB, free: 10.55 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002832/1.028, allocations: 19.06 kB / 1.128 GB, free: 10.55 MB / 0.698 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 (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.0004507/1.028, allocations: 0.8193 MB / 1.128 GB, free: 9.734 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.484e-05/1.028, allocations: 24.56 kB / 1.128 GB, free: 9.73 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/1.028, allocations: 1.344 kB / 1.128 GB, free: 9.73 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.323e-06/1.028, allocations: 0 / 1.128 GB, free: 9.73 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000606/1.029, allocations: 0.578 MB / 1.129 GB, free: 9.199 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001824/1.031, allocations: 1.557 MB / 1.13 GB, free: 8.07 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/1.031, allocations: 0.7203 MB / 1.131 GB, free: 7.375 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.687e-05/1.031, allocations: 26.23 kB / 1.131 GB, free: 7.367 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.066e-05/1.031, allocations: 43.92 kB / 1.131 GB, free: 7.359 MB / 0.698 GB Notification: Performance of SimCode: time 2.61e-07/1.031, allocations: 0 / 1.131 GB, free: 7.359 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01672/1.048, allocations: 3.518 MB / 1.135 GB, free: 7.047 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001867/1.048, allocations: 187.3 kB / 1.135 GB, free: 6.805 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.671/2.72, allocations: 2.875 kB / 1.135 GB, free: 6.805 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_FMI_Validation_FlowSplitter_u.fmu > Buildings_maint.8.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)