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 1.493/1.493, allocations: 287.4 MB / 302.6 MB, free: 8.355 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.000897/0.0008971, allocations: 189.9 kB / 371.1 MB, free: 10.84 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.35/1.35, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.0008438/0.0008436, allocations: 106.7 kB / 0.7431 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003598/0.0003599, allocations: 12.06 kB / 0.8662 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.1811, allocations: 115.3 MB / 0.9787 GB, free: 28.12 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.553/0.7341, allocations: 150.9 MB / 1.126 GB, free: 0.9805 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.004437/0.7386, allocations: 5.259 MB / 1.131 GB, free: 0.6055 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001773/0.7388, allocations: 3.25 kB / 1.131 GB, free: 0.6055 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.00035/0.7392, allocations: 65.36 kB / 1.131 GB, free: 0.5781 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001558/0.7394, allocations: 46.95 kB / 1.131 GB, free: 0.5625 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001049/0.7395, allocations: 27.45 kB / 1.131 GB, free: 0.5625 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0002613/0.7398, allocations: 239.4 kB / 1.132 GB, free: 0.5039 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001769/0.7399, allocations: 88.14 kB / 1.132 GB, free: 496 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001906/0.7401, allocations: 80.48 kB / 1.132 GB, free: 476 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.7403, allocations: 58.59 kB / 1.132 GB, free: 460 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.7403, allocations: 0 / 1.132 GB, free: 460 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.998e-05/0.7403, allocations: 5.125 kB / 1.132 GB, free: 460 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 3.213e-05/0.7403, allocations: 20.77 kB / 1.132 GB, free: 452 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 3.54e-05/0.7404, allocations: 53.39 kB / 1.132 GB, free: 412 kB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.7405, allocations: 115.9 kB / 1.132 GB, free: 400 kB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.7405, allocations: 0 / 1.132 GB, free: 400 kB / 0.6823 GB Notification: Performance of FrontEnd: time 1.934e-06/0.7405, allocations: 0 / 1.132 GB, free: 400 kB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.012e-05/0.7405, allocations: 0 / 1.132 GB, free: 400 kB / 0.6823 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.0004917/0.741, allocations: 415.7 kB / 1.132 GB, free: 16 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.7411, allocations: 8.719 kB / 1.132 GB, free: 16 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.83e-05/0.7411, allocations: 44.19 kB / 1.132 GB, free: 15.96 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.515e-05/0.7412, allocations: 20.91 kB / 1.132 GB, free: 15.95 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.7414, allocations: 247.3 kB / 1.133 GB, free: 15.73 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.7415, allocations: 8.938 kB / 1.133 GB, free: 15.73 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/0.7415, allocations: 11.12 kB / 1.133 GB, free: 15.73 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002255/0.7417, allocations: 166.2 kB / 1.133 GB, free: 15.63 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.7417, allocations: 4 kB / 1.133 GB, free: 15.63 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.7417, allocations: 5.594 kB / 1.133 GB, free: 15.63 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.7418, allocations: 9.688 kB / 1.133 GB, free: 15.62 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.7419, allocations: 70.83 kB / 1.133 GB, free: 15.62 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007308/0.7426, allocations: 1.153 MB / 1.134 GB, free: 14.58 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.917e-05/0.7427, allocations: 165.1 kB / 1.134 GB, free: 14.41 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.557e-05/0.7427, allocations: 87.52 kB / 1.134 GB, free: 14.32 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.509e-05/0.7428, allocations: 79.22 kB / 1.134 GB, free: 14.25 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.617e-05/0.7428, allocations: 114.4 kB / 1.134 GB, free: 14.13 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.553e-06/0.7428, allocations: 0 / 1.134 GB, free: 14.13 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 7.963e-05/0.7429, allocations: 44.06 kB / 1.135 GB, free: 14.09 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.041e-05/0.743, allocations: 178.1 kB / 1.135 GB, free: 13.89 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002357/0.7432, allocations: 250.5 kB / 1.135 GB, free: 13.78 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.7432, allocations: 33.02 kB / 1.135 GB, free: 13.75 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.75e-05/0.7433, allocations: 134.2 kB / 1.135 GB, free: 13.65 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.676e-06/0.7433, allocations: 0 / 1.135 GB, free: 13.65 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-06/0.7434, allocations: 0 / 1.135 GB, free: 13.65 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.7435, allocations: 328.6 kB / 1.135 GB, free: 13.34 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.831e-05/0.7435, allocations: 7.75 kB / 1.135 GB, free: 13.34 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.79e-05/0.7436, allocations: 74.38 kB / 1.136 GB, free: 13.26 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.599e-05/0.7436, allocations: 47.55 kB / 1.136 GB, free: 13.22 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.7436, allocations: 0 / 1.136 GB, free: 13.22 MB / 0.698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001377/0.7438, allocations: 87.98 kB / 1.136 GB, free: 13.17 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.7438, allocations: 6.969 kB / 1.136 GB, free: 13.17 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.7438, allocations: 3.938 kB / 1.136 GB, free: 13.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.7438, allocations: 3.344 kB / 1.136 GB, free: 13.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.743e-05/0.7439, allocations: 8.125 kB / 1.136 GB, free: 13.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.7439, allocations: 4.453 kB / 1.136 GB, free: 13.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.611e-05/0.744, allocations: 13.31 kB / 1.136 GB, free: 13.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.744, allocations: 3.094 kB / 1.136 GB, free: 13.16 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.0001248/0.7441, allocations: 215.1 kB / 1.136 GB, free: 12.96 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.815e-05/0.7442, allocations: 124.6 kB / 1.136 GB, free: 12.84 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.315e-05/0.7443, allocations: 117.4 kB / 1.136 GB, free: 12.73 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.9e-05/0.7443, allocations: 184.9 kB / 1.136 GB, free: 12.55 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.556e-05/0.7444, allocations: 180.2 kB / 1.136 GB, free: 12.36 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.009e-05/0.7445, allocations: 180.3 kB / 1.137 GB, free: 12.18 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002428/0.7447, allocations: 455.5 kB / 1.137 GB, free: 11.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.275e-05/0.7448, allocations: 104.9 kB / 1.137 GB, free: 11.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.696e-05/0.7448, allocations: 104.4 kB / 1.137 GB, free: 11.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.255e-05/0.7449, allocations: 187.1 kB / 1.137 GB, free: 11.33 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.842e-05/0.7449, allocations: 184.3 kB / 1.138 GB, free: 11.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-05/0.745, allocations: 182.7 kB / 1.138 GB, free: 10.96 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.553e-05/0.7451, allocations: 181.4 kB / 1.138 GB, free: 10.78 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001369/0.7452, allocations: 324.5 kB / 1.138 GB, free: 10.46 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.148e-05/0.7453, allocations: 196.6 kB / 1.138 GB, free: 10.25 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.436e-05/0.7454, allocations: 187.2 kB / 1.139 GB, free: 10.06 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.7455, allocations: 113.4 kB / 1.139 GB, free: 9.949 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.363e-05/0.7456, allocations: 180.2 kB / 1.139 GB, free: 9.766 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.004e-05/0.7456, allocations: 101 kB / 1.139 GB, free: 9.66 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001713/0.7458, allocations: 183.2 kB / 1.139 GB, free: 9.582 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7458, allocations: 0 / 1.139 GB, free: 9.582 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002461/0.746, allocations: 20.12 kB / 1.139 GB, free: 9.582 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.0003949/0.7464, allocations: 0.8255 MB / 1.14 GB, free: 8.762 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.269e-05/0.7465, allocations: 16.94 kB / 1.14 GB, free: 8.762 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.7465, allocations: 1.562 kB / 1.14 GB, free: 8.762 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.495e-06/0.7465, allocations: 7.938 kB / 1.14 GB, free: 8.754 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005947/0.7471, allocations: 0.5746 MB / 1.141 GB, free: 8.227 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.7484, allocations: 0.9533 MB / 1.142 GB, free: 7.711 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.7487, allocations: 0.7153 MB / 1.142 GB, free: 7.016 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.417e-05/0.7488, allocations: 24.48 kB / 1.142 GB, free: 7.012 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.816e-05/0.7488, allocations: 38.83 kB / 1.142 GB, free: 7.004 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.7488, allocations: 0 / 1.142 GB, free: 7.004 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3744/1.123, allocations: 3.51 MB / 1.146 GB, free: 6.688 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001828/1.123, allocations: 183.5 kB / 1.146 GB, free: 6.445 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.634/2.757, allocations: 0 / 1.146 GB, free: 6.445 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)