Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.393/1.393, allocations: 252 MB / 267.3 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001288/0.001288, allocations: 165.9 kB / 327 MB, free: 2.105 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.984/1.984, allocations: 205.4 MB / 0.578 GB, free: 20.12 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007627/0.0007627, allocations: 93.92 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003595/0.0003595, allocations: 8.656 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2246, allocations: 106.3 MB / 0.9009 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.7217/0.9464, allocations: 161.8 MB / 1.059 GB, free: 1.984 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.005048/0.9515, allocations: 5.632 MB / 1.064 GB, free: 1.945 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002463/0.9517, allocations: 8.359 kB / 1.064 GB, free: 1.945 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004179/0.9522, allocations: 75.81 kB / 1.065 GB, free: 1.945 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002671/0.9525, allocations: 53.47 kB / 1.065 GB, free: 1.941 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001327/0.9526, allocations: 31.64 kB / 1.065 GB, free: 1.941 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000358/0.953, allocations: 258.3 kB / 1.065 GB, free: 1.941 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002069/0.9532, allocations: 80.58 kB / 1.065 GB, free: 1.93 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002076/0.9534, allocations: 80.73 kB / 1.065 GB, free: 1.93 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.9535, allocations: 65.81 kB / 1.065 GB, free: 1.926 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.9536, allocations: 3.062 kB / 1.065 GB, free: 1.926 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 2.296e-05/0.9536, allocations: 4.797 kB / 1.065 GB, free: 1.926 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.693e-05/0.9537, allocations: 17.69 kB / 1.065 GB, free: 1.926 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 8.829e-05/0.9538, allocations: 88.48 kB / 1.065 GB, free: 1.895 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002246/0.954, allocations: 144.4 kB / 1.065 GB, free: 1.891 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.954, allocations: 0.6562 kB / 1.065 GB, free: 1.891 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.473e-06/0.954, allocations: 2.906 kB / 1.065 GB, free: 1.891 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.954, allocations: 0 / 1.065 GB, free: 1.891 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.0006807/0.9547, allocations: 419.2 kB / 1.066 GB, free: 17.49 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.9548, allocations: 8.844 kB / 1.066 GB, free: 17.49 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.982e-05/0.9548, allocations: 45.88 kB / 1.066 GB, free: 17.45 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.24e-05/0.9549, allocations: 21.53 kB / 1.066 GB, free: 17.44 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000303/0.9552, allocations: 237.5 kB / 1.066 GB, free: 17.23 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.9552, allocations: 9.344 kB / 1.066 GB, free: 17.23 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.9552, allocations: 15.53 kB / 1.066 GB, free: 17.23 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002377/0.9555, allocations: 167.3 kB / 1.066 GB, free: 17.14 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.9555, allocations: 0 / 1.066 GB, free: 17.14 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.819e-05/0.9555, allocations: 6.625 kB / 1.066 GB, free: 17.14 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.759e-06/0.9555, allocations: 6.75 kB / 1.066 GB, free: 17.13 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001164/0.9556, allocations: 77.64 kB / 1.066 GB, free: 17.13 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008767/0.9565, allocations: 1.151 MB / 1.067 GB, free: 16.11 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.014e-05/0.9566, allocations: 172 kB / 1.068 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.536e-05/0.9566, allocations: 80.14 kB / 1.068 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.646e-05/0.9567, allocations: 75.94 kB / 1.068 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.207e-05/0.9568, allocations: 110.3 kB / 1.068 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 2.725e-06/0.9568, allocations: 0 / 1.068 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 8.309e-05/0.9569, allocations: 53.41 kB / 1.068 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.639e-05/0.957, allocations: 178.6 kB / 1.068 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002616/0.9572, allocations: 246 kB / 1.068 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.9573, allocations: 29.55 kB / 1.068 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.9574, allocations: 133 kB / 1.068 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.405e-06/0.9574, allocations: 1.75 kB / 1.068 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-06/0.9574, allocations: 0 / 1.068 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.9575, allocations: 333.7 kB / 1.069 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.71e-05/0.9576, allocations: 8.078 kB / 1.069 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.216e-05/0.9576, allocations: 69.41 kB / 1.069 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.296e-05/0.9577, allocations: 53.41 kB / 1.069 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.9577, allocations: 0 / 1.069 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001443/0.9578, allocations: 85.06 kB / 1.069 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.9579, allocations: 8.906 kB / 1.069 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.9579, allocations: 0 / 1.069 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.9579, allocations: 2.812 kB / 1.069 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.385e-05/0.958, allocations: 14.34 kB / 1.069 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.958, allocations: 0.5625 kB / 1.069 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.933e-05/0.9581, allocations: 22.83 kB / 1.069 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.9581, allocations: 2.984 kB / 1.069 GB, free: 14.7 MB / 0.7136 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.0001312/0.9582, allocations: 208.5 kB / 1.069 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.002e-05/0.9583, allocations: 125.4 kB / 1.069 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.754e-05/0.9583, allocations: 121.7 kB / 1.069 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.745e-05/0.9584, allocations: 184 kB / 1.07 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-05/0.9585, allocations: 182.6 kB / 1.07 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.315e-05/0.9585, allocations: 181.2 kB / 1.07 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002686/0.9588, allocations: 456.3 kB / 1.07 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.86e-05/0.9588, allocations: 104.5 kB / 1.07 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.294e-05/0.9589, allocations: 106.5 kB / 1.071 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.99e-05/0.959, allocations: 184.6 kB / 1.071 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.153e-05/0.959, allocations: 176.8 kB / 1.071 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.74e-05/0.9591, allocations: 179.8 kB / 1.071 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.333e-05/0.9591, allocations: 186.6 kB / 1.071 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001268/0.9593, allocations: 323.9 kB / 1.072 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.71e-05/0.9594, allocations: 202.6 kB / 1.072 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.981e-05/0.9594, allocations: 180.6 kB / 1.072 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.9596, allocations: 104.6 kB / 1.072 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.672e-05/0.9596, allocations: 185.5 kB / 1.072 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.633e-05/0.9597, allocations: 111.5 kB / 1.072 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000166/0.9598, allocations: 183.4 kB / 1.073 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9598, allocations: 0 / 1.073 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002344/0.9601, allocations: 19.59 kB / 1.073 GB, free: 11.18 MB / 0.7136 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.00039/0.9605, allocations: 0.8256 MB / 1.073 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.19e-05/0.9606, allocations: 20.55 kB / 1.073 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.9606, allocations: 0 / 1.073 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.906e-06/0.9606, allocations: 3.875 kB / 1.073 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006486/0.9612, allocations: 0.5743 MB / 1.074 GB, free: 9.836 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001964/0.9632, allocations: 2.066 MB / 1.076 GB, free: 8.359 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.9635, allocations: 0.7162 MB / 1.077 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.921e-05/0.9636, allocations: 23.3 kB / 1.077 GB, free: 7.66 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.681e-05/0.9637, allocations: 42.94 kB / 1.077 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of SimCode: time 3.91e-07/0.9637, allocations: 0 / 1.077 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01655/0.9802, allocations: 3.576 MB / 1.08 GB, free: 7.332 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001955/0.9805, allocations: 205.7 kB / 1.08 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.83/2.811, allocations: 0 / 1.08 GB, free: 7.082 MB / 0.7136 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FMI_Validation_FlowSplitter_u.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)