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.459/1.459, allocations: 251.9 MB / 266.9 MB, free: 10.98 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.001099/0.001099, allocations: 177 kB / 326.5 MB, free: 2.219 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.931/1.931, allocations: 205.4 MB / 0.5775 GB, free: 20.23 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.0009491/0.0009495, allocations: 105.4 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003534/0.0003535, allocations: 8.594 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2418, allocations: 106.3 MB / 0.9001 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.1621/0.404, allocations: 139.2 MB / 1.036 GB, free: 4.23 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.004901/0.409, allocations: 4.479 MB / 1.04 GB, free: 15.74 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000243/0.4093, allocations: 4 kB / 1.04 GB, free: 15.74 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.000263/0.4095, allocations: 31.77 kB / 1.041 GB, free: 15.71 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002571/0.4098, allocations: 91.69 kB / 1.041 GB, free: 15.62 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001081/0.4099, allocations: 19.98 kB / 1.041 GB, free: 15.6 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003818/0.4103, allocations: 183.6 kB / 1.041 GB, free: 15.42 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000204/0.4105, allocations: 74.86 kB / 1.041 GB, free: 15.35 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002274/0.4108, allocations: 75.72 kB / 1.041 GB, free: 15.27 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.4109, allocations: 51.66 kB / 1.041 GB, free: 15.22 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.4109, allocations: 0 / 1.041 GB, free: 15.22 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.864e-05/0.4109, allocations: 4 kB / 1.041 GB, free: 15.22 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.202e-05/0.411, allocations: 19.86 kB / 1.041 GB, free: 15.2 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.885e-05/0.411, allocations: 49.64 kB / 1.041 GB, free: 15.14 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001547/0.4112, allocations: 120 kB / 1.041 GB, free: 15.03 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.4112, allocations: 0 / 1.041 GB, free: 15.03 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.754e-06/0.4112, allocations: 0 / 1.041 GB, free: 15.03 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.4112, allocations: 0 / 1.041 GB, free: 15.03 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.0006076/0.4118, allocations: 418.8 kB / 1.042 GB, free: 14.57 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.4119, allocations: 8.031 kB / 1.042 GB, free: 14.56 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.453e-05/0.4119, allocations: 46.55 kB / 1.042 GB, free: 14.51 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.148e-05/0.412, allocations: 19.77 kB / 1.042 GB, free: 14.49 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003082/0.4123, allocations: 234.8 kB / 1.042 GB, free: 14.22 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.4123, allocations: 12 kB / 1.042 GB, free: 14.21 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.999e-05/0.4123, allocations: 12 kB / 1.042 GB, free: 14.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002452/0.4126, allocations: 160.5 kB / 1.042 GB, free: 14.01 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.4126, allocations: 4 kB / 1.042 GB, free: 14 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.4126, allocations: 8 kB / 1.042 GB, free: 14 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.4127, allocations: 7.953 kB / 1.042 GB, free: 13.99 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.4128, allocations: 63.84 kB / 1.042 GB, free: 13.93 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009426/0.4137, allocations: 1.152 MB / 1.043 GB, free: 12.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.927e-05/0.4138, allocations: 165.1 kB / 1.043 GB, free: 12.52 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.448e-05/0.4139, allocations: 75.28 kB / 1.043 GB, free: 12.45 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.778e-05/0.4139, allocations: 117.8 kB / 1.044 GB, free: 12.32 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.4139, allocations: 4 kB / 1.044 GB, free: 12.32 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 9.391e-05/0.414, allocations: 45.45 kB / 1.044 GB, free: 12.27 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.158e-05/0.4141, allocations: 178.1 kB / 1.044 GB, free: 12.07 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002704/0.4144, allocations: 249 kB / 1.044 GB, free: 11.81 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.4144, allocations: 25.7 kB / 1.044 GB, free: 11.78 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.4145, allocations: 135.8 kB / 1.044 GB, free: 11.64 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.419e-06/0.4146, allocations: 11.94 kB / 1.044 GB, free: 11.63 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.846e-06/0.4146, allocations: 0 / 1.044 GB, free: 11.63 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.4147, allocations: 326.8 kB / 1.045 GB, free: 11.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.034e-05/0.4147, allocations: 8 kB / 1.045 GB, free: 11.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.995e-05/0.4148, allocations: 67.66 kB / 1.045 GB, free: 11.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.991e-05/0.4149, allocations: 19.98 kB / 1.045 GB, free: 11.18 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4149, allocations: 0 / 1.045 GB, free: 11.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001492/0.415, allocations: 81.5 kB / 1.045 GB, free: 11.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.415, allocations: 18.7 kB / 1.045 GB, free: 11.08 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.4151, allocations: 8.203 kB / 1.045 GB, free: 11.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.518e-05/0.4151, allocations: 7.984 kB / 1.045 GB, free: 11.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.993e-05/0.4152, allocations: 7.984 kB / 1.045 GB, free: 11.06 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.4152, allocations: 4 kB / 1.045 GB, free: 11.05 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.084e-05/0.4153, allocations: 15.84 kB / 1.045 GB, free: 11.04 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.4153, allocations: 4 kB / 1.045 GB, free: 11.04 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.0001368/0.4154, allocations: 209 kB / 1.045 GB, free: 10.82 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.86e-05/0.4155, allocations: 116.8 kB / 1.045 GB, free: 10.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.875e-05/0.4156, allocations: 125.8 kB / 1.045 GB, free: 10.57 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-05/0.4157, allocations: 180.2 kB / 1.045 GB, free: 10.39 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.84e-05/0.4158, allocations: 180.3 kB / 1.046 GB, free: 10.21 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.21e-05/0.4158, allocations: 184.2 kB / 1.046 GB, free: 10.02 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002888/0.4161, allocations: 453.2 kB / 1.046 GB, free: 9.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.768e-05/0.4162, allocations: 105 kB / 1.046 GB, free: 9.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.878e-05/0.4162, allocations: 104.9 kB / 1.046 GB, free: 9.301 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.211e-05/0.4163, allocations: 180.3 kB / 1.047 GB, free: 9.117 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.276e-05/0.4164, allocations: 184.2 kB / 1.047 GB, free: 8.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.109e-05/0.4165, allocations: 180.2 kB / 1.047 GB, free: 8.746 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-05/0.4165, allocations: 176.5 kB / 1.047 GB, free: 8.566 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000154/0.4167, allocations: 327.6 kB / 1.047 GB, free: 8.223 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/0.4168, allocations: 201.8 kB / 1.048 GB, free: 8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.631e-05/0.4169, allocations: 180.3 kB / 1.048 GB, free: 7.816 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.417, allocations: 105 kB / 1.048 GB, free: 7.707 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.739e-05/0.4171, allocations: 188.2 kB / 1.048 GB, free: 7.516 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.679e-05/0.4172, allocations: 105 kB / 1.048 GB, free: 7.406 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001601/0.4174, allocations: 184.5 kB / 1.048 GB, free: 7.23 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.795e-06/0.4174, allocations: 0 / 1.048 GB, free: 7.23 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002798/0.4177, allocations: 23.94 kB / 1.048 GB, free: 7.207 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.0004612/0.4181, allocations: 0.8242 MB / 1.049 GB, free: 6.352 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.788e-05/0.4182, allocations: 23.92 kB / 1.049 GB, free: 6.328 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4182, allocations: 0 / 1.049 GB, free: 6.328 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.4182, allocations: 0 / 1.049 GB, free: 6.328 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005839/0.4188, allocations: 0.5816 MB / 1.05 GB, free: 5.742 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/0.4205, allocations: 1.541 MB / 1.051 GB, free: 4.137 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/0.4208, allocations: 0.7244 MB / 1.052 GB, free: 3.387 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.063e-05/0.4209, allocations: 33.45 kB / 1.052 GB, free: 3.352 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.143e-05/0.421, allocations: 39.42 kB / 1.052 GB, free: 3.312 MB / 0.698 GB Notification: Performance of SimCode: time 3.51e-07/0.421, allocations: 0 / 1.052 GB, free: 3.312 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4744/0.8954, allocations: 3.502 MB / 1.055 GB, free: 157.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002272/0.8957, allocations: 185.8 kB / 1.056 GB, free: 157 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.78/2.676, allocations: 0 / 1.056 GB, free: 157 MB / 0.698 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)