Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FMI.Validation.FlowSplitter_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 99.7 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.605/1.605, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.754/1.754, allocations: 292.6 MB / 0.5497 GB, free: 14.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009181/0.0009181, allocations: 14.16 kB / 0.6737 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3225, allocations: 116.3 MB / 0.7872 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.8214/1.144, allocations: 139.2 MB / 0.9231 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00478/1.149, allocations: 4.464 MB / 0.9275 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002812/1.149, allocations: 6.781 kB / 0.9275 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003194/1.149, allocations: 39.88 kB / 0.9275 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002822/1.15, allocations: 84.27 kB / 0.9276 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001284/1.15, allocations: 23.45 kB / 0.9276 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003803/1.15, allocations: 185.2 kB / 0.9278 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002117/1.15, allocations: 73.08 kB / 0.9279 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002216/1.151, allocations: 73.19 kB / 0.9279 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/1.151, allocations: 50.19 kB / 0.928 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/1.151, allocations: 7.391 kB / 0.928 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.735e-05/1.151, allocations: 2.625 kB / 0.928 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.177e-05/1.151, allocations: 14.88 kB / 0.928 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003976/1.151, allocations: 51.27 kB / 0.9281 GB, free: 21.62 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002358/1.152, allocations: 116.3 kB / 0.9282 GB, free: 21.61 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/1.152, allocations: 0 / 0.9282 GB, free: 21.61 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.328e-06/1.152, allocations: 4.75 kB / 0.9282 GB, free: 21.61 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.803e-06/1.152, allocations: 0 / 0.9282 GB, free: 21.61 MB / 0.7325 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.0007007/1.152, allocations: 412.5 kB / 0.9286 GB, free: 21.22 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/1.152, allocations: 10.61 kB / 0.9286 GB, free: 21.22 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.536e-05/1.152, allocations: 46.48 kB / 0.9286 GB, free: 21.18 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.609e-05/1.152, allocations: 18.31 kB / 0.9286 GB, free: 21.17 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003437/1.153, allocations: 234.5 kB / 0.9289 GB, free: 20.97 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/1.153, allocations: 8.875 kB / 0.9289 GB, free: 20.97 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/1.153, allocations: 15.19 kB / 0.9289 GB, free: 20.96 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000264/1.153, allocations: 172.6 kB / 0.9291 GB, free: 20.87 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/1.153, allocations: 0 / 0.9291 GB, free: 20.87 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/1.153, allocations: 6 kB / 0.9291 GB, free: 20.87 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/1.153, allocations: 6.578 kB / 0.9291 GB, free: 20.86 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001424/1.153, allocations: 71.55 kB / 0.9291 GB, free: 20.86 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/1.154, allocations: 1.145 MB / 0.9303 GB, free: 19.84 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.347e-05/1.155, allocations: 170 kB / 0.9304 GB, free: 19.67 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.192e-05/1.155, allocations: 79.8 kB / 0.9305 GB, free: 19.59 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.287e-05/1.155, allocations: 113.2 kB / 0.9306 GB, free: 19.47 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/1.155, allocations: 0 / 0.9306 GB, free: 19.47 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 8.784e-05/1.155, allocations: 44.05 kB / 0.9306 GB, free: 19.43 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.857e-05/1.155, allocations: 184.9 kB / 0.9308 GB, free: 19.23 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002876/1.155, allocations: 251.5 kB / 0.9311 GB, free: 19.12 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/1.155, allocations: 25.7 kB / 0.9311 GB, free: 19.09 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/1.155, allocations: 138.2 kB / 0.9312 GB, free: 19 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.999e-06/1.155, allocations: 3.984 kB / 0.9312 GB, free: 19 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-06/1.155, allocations: 0 / 0.9312 GB, free: 19 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001864/1.155, allocations: 329.5 kB / 0.9315 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.545e-05/1.156, allocations: 11.14 kB / 0.9315 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.597e-05/1.156, allocations: 65.02 kB / 0.9316 GB, free: 18.61 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.025e-05/1.156, allocations: 21.88 kB / 0.9316 GB, free: 18.61 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.156, allocations: 0 / 0.9316 GB, free: 18.61 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001729/1.156, allocations: 86.03 kB / 0.9317 GB, free: 18.57 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/1.156, allocations: 9.828 kB / 0.9317 GB, free: 18.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/1.156, allocations: 0 / 0.9317 GB, free: 18.57 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/1.156, allocations: 5.531 kB / 0.9317 GB, free: 18.57 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.257e-05/1.156, allocations: 13.34 kB / 0.9317 GB, free: 18.56 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/1.156, allocations: 3.375 kB / 0.9317 GB, free: 18.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.67e-05/1.156, allocations: 13.09 kB / 0.9318 GB, free: 18.55 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/1.156, allocations: 4.172 kB / 0.9318 GB, free: 18.55 MB / 0.7325 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.0001555/1.156, allocations: 206.3 kB / 0.932 GB, free: 18.37 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.589e-05/1.156, allocations: 117.3 kB / 0.9321 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.24e-05/1.156, allocations: 126.6 kB / 0.9322 GB, free: 18.14 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.663e-05/1.156, allocations: 186.9 kB / 0.9324 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.481e-05/1.157, allocations: 180 kB / 0.9325 GB, free: 17.77 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.152e-05/1.157, allocations: 177.1 kB / 0.9327 GB, free: 17.59 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003114/1.157, allocations: 452.1 kB / 0.9331 GB, free: 17.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.775e-05/1.157, allocations: 104.6 kB / 0.9332 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-05/1.157, allocations: 113.5 kB / 0.9333 GB, free: 16.94 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.158e-05/1.157, allocations: 177 kB / 0.9335 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001102/1.157, allocations: 179.9 kB / 0.9337 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.366e-05/1.157, allocations: 186.4 kB / 0.9339 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.416e-05/1.157, allocations: 182.8 kB / 0.934 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002049/1.158, allocations: 323.4 kB / 0.9343 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001422/1.158, allocations: 200.2 kB / 0.9345 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/1.158, allocations: 177.5 kB / 0.9347 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/1.158, allocations: 110.5 kB / 0.9348 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.183e-05/1.158, allocations: 185 kB / 0.935 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-05/1.158, allocations: 111 kB / 0.9351 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002016/1.158, allocations: 184.9 kB / 0.9353 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/1.158, allocations: 0 / 0.9353 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002655/1.159, allocations: 18.09 kB / 0.9353 GB, free: 15.03 MB / 0.7325 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.0005143/1.159, allocations: 0.8256 MB / 0.9361 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001247/1.159, allocations: 19.83 kB / 0.9361 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/1.159, allocations: 2.812 kB / 0.9361 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.236e-06/1.159, allocations: 2.672 kB / 0.9361 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007103/1.16, allocations: 0.5755 MB / 0.9367 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001924/1.162, allocations: 1.548 MB / 0.9382 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004252/1.162, allocations: 0.7238 MB / 0.9389 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001115/1.163, allocations: 20.81 kB / 0.9389 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.515e-05/1.163, allocations: 40.75 kB / 0.939 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/1.163, allocations: 4 kB / 0.939 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02046/1.183, allocations: 3.497 MB / 0.9424 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003255/1.184, allocations: 174.4 kB / 0.9425 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.956/3.14, allocations: 0 / 0.9425 GB, free: 11.32 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_8_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_8_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FMI_Validation_FlowSplitter_u.fmu > Buildings_8_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) Environment - environmentSimulation: