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.0009995/0.0009996, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009288/0.0009288, allocations: 168.7 kB / 15.95 MB, free: 204 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.726/1.726, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.869/1.869, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0006166/0.0006167, allocations: 16.06 kB / 0.6738 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.2992, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.7915/1.091, allocations: 150.9 MB / 0.9348 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005401/1.096, allocations: 5.261 MB / 0.9399 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000353/1.097, allocations: 7.188 kB / 0.9399 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004443/1.097, allocations: 63.42 kB / 0.94 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002166/1.097, allocations: 53.64 kB / 0.94 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001348/1.098, allocations: 23.39 kB / 0.94 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003239/1.098, allocations: 222.5 kB / 0.9402 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002125/1.098, allocations: 76.48 kB / 0.9403 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002229/1.098, allocations: 81.83 kB / 0.9404 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/1.098, allocations: 55 kB / 0.9404 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/1.098, allocations: 3.625 kB / 0.9404 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.891e-05/1.098, allocations: 3.344 kB / 0.9405 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.641e-05/1.099, allocations: 20.23 kB / 0.9405 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003463/1.099, allocations: 51.33 kB / 0.9405 GB, free: 21.48 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001612/1.099, allocations: 111.5 kB / 0.9406 GB, free: 21.47 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.443e-06/1.099, allocations: 0 / 0.9406 GB, free: 21.47 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.365e-06/1.099, allocations: 4 kB / 0.9406 GB, free: 21.46 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.232e-06/1.099, allocations: 0 / 0.9406 GB, free: 21.46 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.0005743/1.1, allocations: 415.7 kB / 0.941 GB, free: 21.07 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/1.1, allocations: 14.12 kB / 0.941 GB, free: 21.07 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.503e-05/1.1, allocations: 48.94 kB / 0.9411 GB, free: 21.03 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.482e-05/1.1, allocations: 19.02 kB / 0.9411 GB, free: 21.02 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003119/1.1, allocations: 233.9 kB / 0.9413 GB, free: 20.82 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/1.1, allocations: 6.5 kB / 0.9413 GB, free: 20.82 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/1.1, allocations: 16.67 kB / 0.9414 GB, free: 20.82 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002625/1.1, allocations: 165.8 kB / 0.9415 GB, free: 20.72 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/1.1, allocations: 2.531 kB / 0.9415 GB, free: 20.72 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/1.101, allocations: 5.25 kB / 0.9415 GB, free: 20.72 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.118e-06/1.101, allocations: 10.3 kB / 0.9415 GB, free: 20.71 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001201/1.101, allocations: 73.28 kB / 0.9416 GB, free: 20.71 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009437/1.102, allocations: 1.152 MB / 0.9427 GB, free: 19.69 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/1.102, allocations: 170.6 kB / 0.9429 GB, free: 19.51 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.606e-05/1.102, allocations: 84.62 kB / 0.943 GB, free: 19.43 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.324e-05/1.102, allocations: 75.28 kB / 0.943 GB, free: 19.35 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.372e-05/1.102, allocations: 114.2 kB / 0.9431 GB, free: 19.23 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/1.102, allocations: 0 / 0.9431 GB, free: 19.23 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 9.197e-05/1.102, allocations: 51.06 kB / 0.9432 GB, free: 19.19 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.654e-05/1.102, allocations: 180.5 kB / 0.9434 GB, free: 18.99 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002581/1.102, allocations: 249.9 kB / 0.9436 GB, free: 18.89 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/1.102, allocations: 27.7 kB / 0.9436 GB, free: 18.86 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.258e-05/1.102, allocations: 133.1 kB / 0.9438 GB, free: 18.76 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.786e-06/1.102, allocations: 5.859 kB / 0.9438 GB, free: 18.76 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-06/1.103, allocations: 2.812 kB / 0.9438 GB, free: 18.76 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001272/1.103, allocations: 327.2 kB / 0.9441 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.107e-05/1.103, allocations: 7 kB / 0.9441 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.152e-05/1.103, allocations: 65.62 kB / 0.9441 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.862e-05/1.103, allocations: 23.02 kB / 0.9442 GB, free: 18.37 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/1.103, allocations: 0 / 0.9442 GB, free: 18.37 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001757/1.103, allocations: 88.02 kB / 0.9443 GB, free: 18.33 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/1.103, allocations: 5.594 kB / 0.9443 GB, free: 18.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/1.103, allocations: 7.672 kB / 0.9443 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/1.103, allocations: 1.719 kB / 0.9443 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.918e-05/1.103, allocations: 8.094 kB / 0.9443 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/1.103, allocations: 4 kB / 0.9443 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.899e-05/1.103, allocations: 12.62 kB / 0.9443 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/1.103, allocations: 5.062 kB / 0.9443 GB, free: 18.32 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.0001476/1.103, allocations: 204.9 kB / 0.9445 GB, free: 18.13 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.881e-05/1.103, allocations: 123.8 kB / 0.9446 GB, free: 18.01 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.364e-05/1.104, allocations: 123.3 kB / 0.9447 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.023e-05/1.104, allocations: 181.8 kB / 0.9449 GB, free: 17.71 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-05/1.104, allocations: 177.4 kB / 0.9451 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.817e-05/1.104, allocations: 182.8 kB / 0.9452 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000294/1.104, allocations: 450.9 kB / 0.9457 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.663e-05/1.104, allocations: 105.9 kB / 0.9458 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.831e-05/1.104, allocations: 104.1 kB / 0.9459 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.15e-05/1.104, allocations: 185.9 kB / 0.9461 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.299e-05/1.104, allocations: 182.5 kB / 0.9462 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.243e-05/1.104, allocations: 179.6 kB / 0.9464 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.589e-05/1.104, allocations: 185.9 kB / 0.9466 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001659/1.105, allocations: 326.5 kB / 0.9469 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.412e-05/1.105, allocations: 194.3 kB / 0.9471 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.532e-05/1.105, allocations: 183.9 kB / 0.9472 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/1.105, allocations: 108.3 kB / 0.9473 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.097e-05/1.105, allocations: 181.6 kB / 0.9475 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.725e-05/1.105, allocations: 109.9 kB / 0.9476 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001958/1.105, allocations: 181.5 kB / 0.9478 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/1.105, allocations: 0 / 0.9478 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000289/1.106, allocations: 19.94 kB / 0.9478 GB, free: 14.79 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.0004837/1.106, allocations: 0.8246 MB / 0.9486 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.955e-05/1.106, allocations: 20.31 kB / 0.9486 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/1.106, allocations: 1.156 kB / 0.9486 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.206e-06/1.106, allocations: 3.5 kB / 0.9486 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006739/1.107, allocations: 0.5767 MB / 0.9492 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/1.108, allocations: 0.948 MB / 0.9501 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000344/1.109, allocations: 0.724 MB / 0.9508 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.85e-05/1.109, allocations: 25.22 kB / 0.9509 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.54e-05/1.109, allocations: 38.98 kB / 0.9509 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of SimCode: time 5.71e-07/1.109, allocations: 0.9688 kB / 0.9509 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01632/1.125, allocations: 3.51 MB / 0.9543 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002086/1.126, allocations: 186.7 kB / 0.9545 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.854/2.979, allocations: 0.9688 kB / 0.9545 GB, free: 11.68 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: