Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FMI.Validation.FlowSplitter_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.595/2.595, allocations: 287.3 MB / 302.3 MB, free: 8.254 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.001673/0.001673, allocations: 179 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.165/2.165, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001069/0.001069, allocations: 86.58 kB / 0.7428 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000495/0.0004952, allocations: 11.89 kB / 0.8657 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.2395, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.9094/1.149, allocations: 139.2 MB / 1.114 GB, free: 1.027 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.007217/1.156, allocations: 4.464 MB / 1.119 GB, free: 0.6914 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002996/1.157, allocations: 12.44 kB / 1.119 GB, free: 0.6836 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003122/1.157, allocations: 33.03 kB / 1.119 GB, free: 0.6758 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0003278/1.157, allocations: 83.72 kB / 1.119 GB, free: 0.668 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001495/1.157, allocations: 25.75 kB / 1.119 GB, free: 0.668 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0004797/1.158, allocations: 187 kB / 1.119 GB, free: 0.6484 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002221/1.158, allocations: 71.08 kB / 1.119 GB, free: 0.6328 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002682/1.158, allocations: 79.22 kB / 1.119 GB, free: 0.6172 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001624/1.159, allocations: 42.17 kB / 1.119 GB, free: 0.6016 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/1.159, allocations: 2.344 kB / 1.119 GB, free: 0.6016 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 2.97e-05/1.159, allocations: 6.25 kB / 1.119 GB, free: 0.5977 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 4.485e-05/1.159, allocations: 21.36 kB / 1.119 GB, free: 0.5938 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 9.261e-05/1.159, allocations: 48.48 kB / 1.119 GB, free: 16.56 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002183/1.159, allocations: 115 kB / 1.119 GB, free: 16.55 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.686e-06/1.159, allocations: 0 / 1.119 GB, free: 16.55 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.816e-06/1.159, allocations: 1.438 kB / 1.119 GB, free: 16.55 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.781e-06/1.159, allocations: 1.859 kB / 1.119 GB, free: 16.55 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.0006447/1.16, allocations: 417.3 kB / 1.12 GB, free: 16.16 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/1.16, allocations: 12.89 kB / 1.12 GB, free: 16.16 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.631e-05/1.16, allocations: 48.23 kB / 1.12 GB, free: 16.11 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.127e-05/1.16, allocations: 19.75 kB / 1.12 GB, free: 16.11 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003885/1.16, allocations: 235.9 kB / 1.12 GB, free: 15.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/1.16, allocations: 8.438 kB / 1.12 GB, free: 15.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.126e-05/1.16, allocations: 12.52 kB / 1.12 GB, free: 15.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000324/1.161, allocations: 165.2 kB / 1.12 GB, free: 15.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/1.161, allocations: 1.641 kB / 1.12 GB, free: 15.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/1.161, allocations: 8.484 kB / 1.12 GB, free: 15.79 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/1.161, allocations: 3.094 kB / 1.12 GB, free: 15.79 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001821/1.161, allocations: 67.81 kB / 1.12 GB, free: 15.79 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001135/1.162, allocations: 1.152 MB / 1.121 GB, free: 14.76 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.352e-05/1.162, allocations: 177.9 kB / 1.121 GB, free: 14.57 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.985e-05/1.162, allocations: 75.28 kB / 1.122 GB, free: 14.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.556e-05/1.162, allocations: 109 kB / 1.122 GB, free: 14.39 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 2.043e-06/1.162, allocations: 0 / 1.122 GB, free: 14.39 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 0.0001259/1.163, allocations: 44.72 kB / 1.122 GB, free: 14.35 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/1.163, allocations: 178.1 kB / 1.122 GB, free: 14.15 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003539/1.163, allocations: 254.4 kB / 1.122 GB, free: 14.04 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/1.163, allocations: 28.27 kB / 1.122 GB, free: 14 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/1.163, allocations: 132.1 kB / 1.122 GB, free: 13.91 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.956e-06/1.163, allocations: 0 / 1.122 GB, free: 13.91 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.461e-06/1.163, allocations: 2.875 kB / 1.122 GB, free: 13.91 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001446/1.163, allocations: 326.4 kB / 1.123 GB, free: 13.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.28e-05/1.163, allocations: 18.09 kB / 1.123 GB, free: 13.59 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.19e-05/1.164, allocations: 64.62 kB / 1.123 GB, free: 13.52 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.672e-05/1.164, allocations: 18.22 kB / 1.123 GB, free: 13.52 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/1.164, allocations: 1.75 kB / 1.123 GB, free: 13.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002061/1.164, allocations: 92.08 kB / 1.123 GB, free: 13.46 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/1.164, allocations: 7.531 kB / 1.123 GB, free: 13.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/1.164, allocations: 0 / 1.123 GB, free: 13.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/1.164, allocations: 2.812 kB / 1.123 GB, free: 13.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.218e-05/1.164, allocations: 8.875 kB / 1.123 GB, free: 13.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/1.164, allocations: 4.5 kB / 1.123 GB, free: 13.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001424/1.164, allocations: 17.7 kB / 1.123 GB, free: 13.45 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/1.164, allocations: 2.672 kB / 1.123 GB, free: 13.45 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.0001814/1.164, allocations: 207.2 kB / 1.123 GB, free: 13.26 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/1.165, allocations: 130.5 kB / 1.123 GB, free: 13.14 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.593e-05/1.165, allocations: 120.6 kB / 1.123 GB, free: 13.02 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.74e-05/1.165, allocations: 177.9 kB / 1.123 GB, free: 12.84 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-05/1.165, allocations: 181.8 kB / 1.124 GB, free: 12.66 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.773e-05/1.165, allocations: 186.4 kB / 1.124 GB, free: 12.47 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003759/1.165, allocations: 452.7 kB / 1.124 GB, free: 12.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-05/1.165, allocations: 108.7 kB / 1.124 GB, free: 11.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-05/1.165, allocations: 102.8 kB / 1.124 GB, free: 11.81 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.548e-05/1.165, allocations: 184.3 kB / 1.125 GB, free: 11.63 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.21e-05/1.166, allocations: 185.9 kB / 1.125 GB, free: 11.44 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.532e-05/1.166, allocations: 182 kB / 1.125 GB, free: 11.26 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.405e-05/1.166, allocations: 182.2 kB / 1.125 GB, free: 11.07 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001874/1.166, allocations: 319.1 kB / 1.125 GB, free: 10.75 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000133/1.166, allocations: 196.2 kB / 1.126 GB, free: 10.55 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/1.166, allocations: 178.8 kB / 1.126 GB, free: 10.37 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/1.166, allocations: 118.2 kB / 1.126 GB, free: 10.25 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.049e-05/1.166, allocations: 178.1 kB / 1.126 GB, free: 10.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.49e-05/1.167, allocations: 107 kB / 1.126 GB, free: 9.961 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002729/1.167, allocations: 180.5 kB / 1.126 GB, free: 9.883 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.41e-07/1.167, allocations: 0 / 1.126 GB, free: 9.883 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003342/1.167, allocations: 22.34 kB / 1.126 GB, free: 9.883 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.0004915/1.168, allocations: 0.8167 MB / 1.127 GB, free: 9.07 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001174/1.168, allocations: 22.28 kB / 1.127 GB, free: 9.066 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/1.168, allocations: 0 / 1.127 GB, free: 9.066 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.496e-06/1.168, allocations: 4.922 kB / 1.127 GB, free: 9.066 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008147/1.169, allocations: 0.5849 MB / 1.128 GB, free: 8.527 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002147/1.171, allocations: 1.55 MB / 1.129 GB, free: 7.406 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000396/1.171, allocations: 0.7182 MB / 1.13 GB, free: 6.711 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001421/1.171, allocations: 24.62 kB / 1.13 GB, free: 6.707 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.486e-05/1.172, allocations: 41.64 kB / 1.13 GB, free: 6.699 MB / 0.698 GB Notification: Performance of SimCode: time 9.92e-07/1.172, allocations: 0 / 1.13 GB, free: 6.699 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02688/1.198, allocations: 3.509 MB / 1.133 GB, free: 6.379 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003767/1.199, allocations: 179.9 kB / 1.134 GB, free: 6.137 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.423/3.622, allocations: 3.938 kB / 1.134 GB, free: 6.133 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_FMI_Validation_FlowSplitter_u.fmu > Buildings_8.0.0_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)