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.5/1.5, allocations: 288.4 MB / 303.6 MB, free: 8.105 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.0009397/0.00094, allocations: 184.5 kB / 372.3 MB, free: 10.1 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.27/1.27, allocations: 205.4 MB / 0.631 GB, free: 9.867 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.0006799/0.0006799, allocations: 102.3 kB / 0.7444 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003528/0.0003529, allocations: 12.78 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1637, allocations: 115.3 MB / 0.9802 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.4811/0.6448, allocations: 150.9 MB / 1.128 GB, free: 1.695 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.004108/0.649, allocations: 5.264 MB / 1.133 GB, free: 1.199 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001979/0.6492, allocations: 4 kB / 1.133 GB, free: 1.199 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003007/0.6495, allocations: 63.98 kB / 1.133 GB, free: 1.172 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001445/0.6497, allocations: 51.22 kB / 1.133 GB, free: 1.141 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 9.197e-05/0.6498, allocations: 29.36 kB / 1.133 GB, free: 1.137 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0002536/0.65, allocations: 232.7 kB / 1.133 GB, free: 1.086 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001761/0.6502, allocations: 84.72 kB / 1.133 GB, free: 1.066 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000172/0.6504, allocations: 84.39 kB / 1.133 GB, free: 1.043 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 9.42e-05/0.6505, allocations: 58.66 kB / 1.133 GB, free: 1.02 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.6505, allocations: 2.438 kB / 1.133 GB, free: 1.02 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.707e-05/0.6505, allocations: 2.125 kB / 1.133 GB, free: 1.02 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 2.911e-05/0.6506, allocations: 21.64 kB / 1.133 GB, free: 1.012 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001071/0.6507, allocations: 78.67 kB / 1.133 GB, free: 16.96 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001224/0.6508, allocations: 118.2 kB / 1.133 GB, free: 16.95 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.6508, allocations: 0 / 1.133 GB, free: 16.95 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6508, allocations: 0 / 1.133 GB, free: 16.95 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.339e-06/0.6508, allocations: 0 / 1.133 GB, free: 16.95 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.0004419/0.6513, allocations: 417.6 kB / 1.134 GB, free: 16.55 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.6513, allocations: 10.56 kB / 1.134 GB, free: 16.55 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.933e-05/0.6514, allocations: 45.66 kB / 1.134 GB, free: 16.51 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.351e-05/0.6514, allocations: 16.59 kB / 1.134 GB, free: 16.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/0.6516, allocations: 245.9 kB / 1.134 GB, free: 16.28 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.6517, allocations: 7.75 kB / 1.134 GB, free: 16.28 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.6517, allocations: 15 kB / 1.134 GB, free: 16.28 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/0.6519, allocations: 169.9 kB / 1.134 GB, free: 16.18 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.6519, allocations: 0 / 1.134 GB, free: 16.18 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.6519, allocations: 5.562 kB / 1.134 GB, free: 16.18 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.6519, allocations: 6.594 kB / 1.134 GB, free: 16.17 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.539e-05/0.652, allocations: 72.56 kB / 1.134 GB, free: 16.16 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007093/0.6527, allocations: 1.151 MB / 1.136 GB, free: 15.13 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.703e-05/0.6528, allocations: 172.3 kB / 1.136 GB, free: 14.95 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.756e-05/0.6529, allocations: 82.27 kB / 1.136 GB, free: 14.87 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.6529, allocations: 79.22 kB / 1.136 GB, free: 14.79 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.79e-05/0.6529, allocations: 105.8 kB / 1.136 GB, free: 14.68 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.653, allocations: 0 / 1.136 GB, free: 14.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 6.948e-05/0.653, allocations: 48.64 kB / 1.136 GB, free: 14.64 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.7e-05/0.6531, allocations: 186.5 kB / 1.136 GB, free: 14.43 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002057/0.6533, allocations: 251.7 kB / 1.136 GB, free: 14.32 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.6533, allocations: 25.7 kB / 1.136 GB, free: 14.29 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.88e-05/0.6534, allocations: 138.8 kB / 1.137 GB, free: 14.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-06/0.6534, allocations: 0 / 1.137 GB, free: 14.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.465e-06/0.6534, allocations: 0 / 1.137 GB, free: 14.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.6535, allocations: 326.8 kB / 1.137 GB, free: 13.88 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.201e-05/0.6536, allocations: 10.72 kB / 1.137 GB, free: 13.88 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.157e-05/0.6536, allocations: 70.92 kB / 1.137 GB, free: 13.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.319e-05/0.6537, allocations: 50.08 kB / 1.137 GB, free: 13.76 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.6537, allocations: 0 / 1.137 GB, free: 13.76 MB / 0.698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001223/0.6538, allocations: 89.56 kB / 1.137 GB, free: 13.71 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.6538, allocations: 7.219 kB / 1.137 GB, free: 13.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.6538, allocations: 2.562 kB / 1.137 GB, free: 13.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.6539, allocations: 0 / 1.137 GB, free: 13.71 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.54e-05/0.6539, allocations: 15.22 kB / 1.137 GB, free: 13.71 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.6539, allocations: 6.844 kB / 1.137 GB, free: 13.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.186e-05/0.654, allocations: 12.75 kB / 1.137 GB, free: 13.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.654, allocations: 4.844 kB / 1.137 GB, free: 13.7 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.0001201/0.6541, allocations: 204.9 kB / 1.137 GB, free: 13.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.468e-05/0.6542, allocations: 127.9 kB / 1.137 GB, free: 13.38 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.166e-05/0.6543, allocations: 119.2 kB / 1.138 GB, free: 13.27 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.883e-05/0.6544, allocations: 182.7 kB / 1.138 GB, free: 13.09 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.918e-05/0.6544, allocations: 182.7 kB / 1.138 GB, free: 12.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-05/0.6545, allocations: 183.6 kB / 1.138 GB, free: 12.72 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002772/0.6548, allocations: 450 kB / 1.139 GB, free: 12.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.761e-05/0.6548, allocations: 107.9 kB / 1.139 GB, free: 12.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.951e-05/0.6549, allocations: 103.6 kB / 1.139 GB, free: 12.06 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.836e-05/0.6549, allocations: 184.2 kB / 1.139 GB, free: 11.87 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.025e-05/0.655, allocations: 182.5 kB / 1.139 GB, free: 11.69 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.627e-05/0.655, allocations: 180.2 kB / 1.139 GB, free: 11.51 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.882e-05/0.6551, allocations: 178.6 kB / 1.139 GB, free: 11.33 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001329/0.6552, allocations: 324.9 kB / 1.14 GB, free: 11 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.82e-05/0.6553, allocations: 202.9 kB / 1.14 GB, free: 10.79 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.066e-05/0.6554, allocations: 183.3 kB / 1.14 GB, free: 10.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.6555, allocations: 101.3 kB / 1.14 GB, free: 10.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.657e-05/0.6556, allocations: 183.6 kB / 1.14 GB, free: 10.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.796e-05/0.6556, allocations: 107.7 kB / 1.14 GB, free: 10.21 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001387/0.6558, allocations: 187.6 kB / 1.141 GB, free: 10.13 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6558, allocations: 0 / 1.141 GB, free: 10.13 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002138/0.656, allocations: 18.84 kB / 1.141 GB, free: 10.13 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.0003659/0.6564, allocations: 0.826 MB / 1.141 GB, free: 9.309 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.416e-05/0.6565, allocations: 27.72 kB / 1.142 GB, free: 9.301 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.6565, allocations: 0 / 1.142 GB, free: 9.301 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.156e-06/0.6565, allocations: 0 / 1.142 GB, free: 9.301 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005943/0.6571, allocations: 0.58 MB / 1.142 GB, free: 8.77 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.6582, allocations: 0.9557 MB / 1.143 GB, free: 8.25 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.6585, allocations: 0.7143 MB / 1.144 GB, free: 7.555 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.8e-05/0.6585, allocations: 24.31 kB / 1.144 GB, free: 7.551 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.891e-05/0.6586, allocations: 40.06 kB / 1.144 GB, free: 7.543 MB / 0.698 GB Notification: Performance of SimCode: time 2.01e-07/0.6586, allocations: 0 / 1.144 GB, free: 7.543 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4985/1.157, allocations: 3.554 MB / 1.147 GB, free: 6.875 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001941/1.157, allocations: 186.4 kB / 1.147 GB, free: 6.641 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.691/2.849, allocations: 0 / 1.147 GB, free: 6.641 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)