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.44/1.44, allocations: 252 MB / 267 MB, free: 10.97 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.00113/0.00113, allocations: 178.4 kB / 326.6 MB, free: 2.238 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.884/1.884, allocations: 205.4 MB / 0.5777 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.0009406/0.0009407, allocations: 92.19 kB / 0.6822 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003869/0.0003872, allocations: 12.89 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2307, allocations: 106.4 MB / 0.9003 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.171/0.4017, allocations: 150.9 MB / 1.048 GB, free: 8.461 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.004955/0.4067, allocations: 5.272 MB / 1.053 GB, free: 3.176 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001669/0.4069, allocations: 4 kB / 1.053 GB, free: 3.172 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0003569/0.4073, allocations: 67.5 kB / 1.053 GB, free: 3.105 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.000161/0.4074, allocations: 47.69 kB / 1.053 GB, free: 3.059 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001045/0.4076, allocations: 31.97 kB / 1.053 GB, free: 3.027 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002687/0.4078, allocations: 223.1 kB / 1.053 GB, free: 2.809 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001884/0.408, allocations: 70.94 kB / 1.053 GB, free: 2.742 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002391/0.4083, allocations: 79.7 kB / 1.053 GB, free: 2.664 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.4084, allocations: 55.66 kB / 1.053 GB, free: 2.609 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.4084, allocations: 3.984 kB / 1.053 GB, free: 2.605 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 2.128e-05/0.4085, allocations: 4 kB / 1.053 GB, free: 2.602 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.271e-05/0.4085, allocations: 23.86 kB / 1.053 GB, free: 2.578 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.536e-05/0.4085, allocations: 53.58 kB / 1.053 GB, free: 2.52 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001364/0.4087, allocations: 116 kB / 1.054 GB, free: 2.406 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.4087, allocations: 0 / 1.054 GB, free: 2.406 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.134e-06/0.4087, allocations: 3.938 kB / 1.054 GB, free: 2.402 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.678e-06/0.4087, allocations: 0 / 1.054 GB, free: 2.402 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.0005427/0.4093, allocations: 418.8 kB / 1.054 GB, free: 1.945 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.4093, allocations: 8.031 kB / 1.054 GB, free: 1.938 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.854e-05/0.4094, allocations: 38.56 kB / 1.054 GB, free: 1.891 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.314e-05/0.4094, allocations: 23.77 kB / 1.054 GB, free: 1.867 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002856/0.4097, allocations: 234.8 kB / 1.054 GB, free: 1.598 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.4097, allocations: 12 kB / 1.054 GB, free: 1.586 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.4098, allocations: 12 kB / 1.054 GB, free: 1.574 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002336/0.41, allocations: 164.5 kB / 1.054 GB, free: 1.383 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.41, allocations: 0 / 1.054 GB, free: 1.383 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.41, allocations: 8 kB / 1.054 GB, free: 1.375 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.4101, allocations: 3.953 kB / 1.054 GB, free: 1.371 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.4102, allocations: 71.83 kB / 1.055 GB, free: 1.301 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009185/0.4111, allocations: 1.148 MB / 1.056 GB, free: 76 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5115/0.9227, allocations: 166.1 kB / 1.056 GB, free: 158.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.965e-05/0.9228, allocations: 80.14 kB / 1.056 GB, free: 158.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.9228, allocations: 76.83 kB / 1.056 GB, free: 158.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.379e-05/0.9228, allocations: 107.2 kB / 1.056 GB, free: 158.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 3.096e-06/0.9229, allocations: 1.031 kB / 1.056 GB, free: 158.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 0.0001498/0.923, allocations: 49.2 kB / 1.056 GB, free: 158.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.923e-05/0.9231, allocations: 183 kB / 1.056 GB, free: 158.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003576/0.9234, allocations: 249.9 kB / 1.057 GB, free: 158.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.9235, allocations: 28.77 kB / 1.057 GB, free: 158.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.9236, allocations: 130.1 kB / 1.057 GB, free: 158.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.827e-06/0.9236, allocations: 0 / 1.057 GB, free: 158.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-06/0.9236, allocations: 3.812 kB / 1.057 GB, free: 158.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.935e-05/0.9237, allocations: 328.8 kB / 1.057 GB, free: 157.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.152e-05/0.9238, allocations: 14.73 kB / 1.057 GB, free: 157.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.648e-05/0.9238, allocations: 64.88 kB / 1.057 GB, free: 157.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.968e-05/0.9239, allocations: 20.02 kB / 1.057 GB, free: 157.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.9239, allocations: 1.875 kB / 1.057 GB, free: 157.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001967/0.9241, allocations: 86.34 kB / 1.057 GB, free: 157.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.9242, allocations: 7.953 kB / 1.057 GB, free: 157.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.9242, allocations: 1.312 kB / 1.057 GB, free: 157.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.9242, allocations: 1.156 kB / 1.057 GB, free: 157.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.642e-05/0.9243, allocations: 12.41 kB / 1.057 GB, free: 157.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/0.9243, allocations: 4.266 kB / 1.057 GB, free: 157.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.9244, allocations: 15.56 kB / 1.057 GB, free: 157.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.9244, allocations: 2.781 kB / 1.057 GB, free: 157.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.0001199/0.9246, allocations: 206.2 kB / 1.057 GB, free: 157.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.732e-05/0.9246, allocations: 122.9 kB / 1.058 GB, free: 157.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.162e-05/0.9247, allocations: 122.6 kB / 1.058 GB, free: 157.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.649e-05/0.9247, allocations: 182.1 kB / 1.058 GB, free: 157.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.113e-05/0.9248, allocations: 185.1 kB / 1.058 GB, free: 156.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.311e-05/0.9248, allocations: 190.5 kB / 1.058 GB, free: 156.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002513/0.9251, allocations: 442.5 kB / 1.059 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.608e-05/0.9251, allocations: 106.5 kB / 1.059 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.772e-05/0.9251, allocations: 106.2 kB / 1.059 GB, free: 156.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.229e-05/0.9252, allocations: 180.6 kB / 1.059 GB, free: 155.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.417e-05/0.9252, allocations: 181.2 kB / 1.059 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.195e-05/0.9252, allocations: 185.1 kB / 1.059 GB, free: 155.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.243e-05/0.9253, allocations: 178.8 kB / 1.06 GB, free: 155.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001097/0.9254, allocations: 328.2 kB / 1.06 GB, free: 155.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.155e-05/0.9255, allocations: 196.8 kB / 1.06 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.03e-05/0.9256, allocations: 181.7 kB / 1.06 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.9257, allocations: 104.3 kB / 1.06 GB, free: 154.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.506e-05/0.9257, allocations: 191.4 kB / 1.06 GB, free: 154.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.9257, allocations: 103.4 kB / 1.061 GB, free: 154.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001997/0.926, allocations: 183.4 kB / 1.061 GB, free: 154.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 2e-07/0.926, allocations: 0 / 1.061 GB, free: 154.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002662/0.9262, allocations: 22.5 kB / 1.061 GB, free: 154.2 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.0002897/0.9265, allocations: 0.8228 MB / 1.062 GB, free: 153.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001004/0.9266, allocations: 16.39 kB / 1.062 GB, free: 153.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.9266, allocations: 2.266 kB / 1.062 GB, free: 153.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.655e-06/0.9267, allocations: 3.938 kB / 1.062 GB, free: 153.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005831/0.9272, allocations: 0.5741 MB / 1.062 GB, free: 152.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001366/0.9286, allocations: 0.9703 MB / 1.063 GB, free: 152.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001535/0.9288, allocations: 0.7226 MB / 1.064 GB, free: 151.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001016/0.9289, allocations: 17.88 kB / 1.064 GB, free: 151.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.818e-05/0.929, allocations: 42.17 kB / 1.064 GB, free: 151.6 MB / 0.698 GB Notification: Performance of SimCode: time 4.21e-07/0.929, allocations: 0 / 1.064 GB, free: 151.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01606/0.945, allocations: 3.534 MB / 1.067 GB, free: 151.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001939/0.9453, allocations: 192.6 kB / 1.068 GB, free: 151.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.793/2.738, allocations: 4 kB / 1.068 GB, free: 151.1 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)