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.001305/0.001305, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001716/0.001716, allocations: 187.6 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.464/1.464, allocations: 205.1 MB / 222.5 MB, free: 4.559 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.693/1.693, allocations: 292.3 MB / 0.549 GB, free: 12.71 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.001582/0.001583, allocations: 75.44 kB / 0.6718 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.2612, allocations: 114.5 MB / 0.7836 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.6484/0.9096, allocations: 166.1 MB / 0.9458 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006247/0.9159, allocations: 5.693 MB / 0.9514 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003659/0.9164, allocations: 4.938 kB / 0.9514 GB, free: 1.414 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/FMI/Source_T.mo:50:3-51:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/FMI/FlowSplitter_u.mo:47:3-49:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/FMI/FlowSplitter_u.mo:50:3-51:71:writable] Warning: Connector X_w_out_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0005694/0.9169, allocations: 98.25 kB / 0.9515 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002556/0.9172, allocations: 53.81 kB / 0.9515 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00015/0.9173, allocations: 37.91 kB / 0.9516 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003567/0.9177, allocations: 218.2 kB / 0.9518 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002507/0.918, allocations: 96.23 kB / 0.9519 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002783/0.9183, allocations: 99.88 kB / 0.952 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001685/0.9184, allocations: 73.19 kB / 0.952 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.398e-05/0.9185, allocations: 9.688 kB / 0.9521 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.592e-05/0.9185, allocations: 13.69 kB / 0.9521 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.93e-05/0.9186, allocations: 31.16 kB / 0.9521 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001149/0.9187, allocations: 69.27 kB / 0.9522 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002572/0.919, allocations: 158 kB / 0.9523 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.919, allocations: 0 / 0.9523 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.252e-06/0.919, allocations: 0.5 kB / 0.9523 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.919, allocations: 0 / 0.9523 GB, free: 1.258 MB / 0.7169 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.0007709/0.9198, allocations: 443.5 kB / 0.9527 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.464e-05/0.9198, allocations: 9.438 kB / 0.9527 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.693e-05/0.9199, allocations: 49.7 kB / 0.9528 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.237e-05/0.92, allocations: 17.16 kB / 0.9528 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003503/0.9203, allocations: 252.2 kB / 0.9531 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.9203, allocations: 12.39 kB / 0.9531 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.227e-05/0.9204, allocations: 11.53 kB / 0.9531 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002835/0.9207, allocations: 171 kB / 0.9532 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.9207, allocations: 0.5938 kB / 0.9532 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.9207, allocations: 6 kB / 0.9532 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.9207, allocations: 5.344 kB / 0.9532 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001487/0.9209, allocations: 72.09 kB / 0.9533 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000774/0.9217, allocations: 1.15 MB / 0.9544 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.194e-05/0.9218, allocations: 170.4 kB / 0.9546 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.203e-05/0.9218, allocations: 86.39 kB / 0.9547 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.744e-05/0.9218, allocations: 79.22 kB / 0.9548 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.468e-05/0.9219, allocations: 111.2 kB / 0.9549 GB, free: 15 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.9219, allocations: 1.203 kB / 0.9549 GB, free: 15 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 7.905e-05/0.922, allocations: 42.33 kB / 0.9549 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.746e-05/0.9221, allocations: 183.1 kB / 0.9551 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002448/0.9223, allocations: 253.7 kB / 0.9553 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.9223, allocations: 27.05 kB / 0.9554 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.118e-05/0.9224, allocations: 137.7 kB / 0.9555 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.766e-06/0.9224, allocations: 1.125 kB / 0.9555 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-05/0.9225, allocations: 27.34 kB / 0.9555 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.9226, allocations: 328.5 kB / 0.9558 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.967e-05/0.9226, allocations: 5.406 kB / 0.9558 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.381e-05/0.9227, allocations: 64.94 kB / 0.9559 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.685e-05/0.9227, allocations: 54.34 kB / 0.9559 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.9227, allocations: 1.281 kB / 0.9559 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001519/0.9229, allocations: 93.34 kB / 0.956 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.9229, allocations: 5.156 kB / 0.956 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.9229, allocations: 1.219 kB / 0.956 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.9229, allocations: 2.375 kB / 0.956 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.023e-05/0.923, allocations: 7.094 kB / 0.956 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.923, allocations: 1.375 kB / 0.956 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.874e-05/0.9231, allocations: 19.14 kB / 0.9561 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.9231, allocations: 2.75 kB / 0.9561 GB, free: 14.01 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001255/0.9232, allocations: 204.8 kB / 0.9563 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.241e-05/0.9233, allocations: 128.5 kB / 0.9564 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.187e-05/0.9234, allocations: 118 kB / 0.9565 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.047e-05/0.9234, allocations: 189 kB / 0.9567 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.317e-05/0.9235, allocations: 180 kB / 0.9569 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.285e-05/0.9236, allocations: 185.4 kB / 0.957 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002845/0.9239, allocations: 452.1 kB / 0.9575 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.489e-05/0.9239, allocations: 113 kB / 0.9576 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.775e-05/0.924, allocations: 104.9 kB / 0.9577 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.876e-05/0.924, allocations: 177.9 kB / 0.9578 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-05/0.9241, allocations: 184 kB / 0.958 GB, free: 12 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.758e-05/0.9241, allocations: 182.8 kB / 0.9582 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.418e-05/0.9242, allocations: 185.7 kB / 0.9584 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001256/0.9243, allocations: 316.2 kB / 0.9587 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.173e-05/0.9244, allocations: 199.8 kB / 0.9589 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.59e-05/0.9245, allocations: 184.5 kB / 0.959 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.9246, allocations: 106.1 kB / 0.9591 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.946e-05/0.9247, allocations: 181.4 kB / 0.9593 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.201e-05/0.9247, allocations: 104.5 kB / 0.9594 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001639/0.9249, allocations: 182.6 kB / 0.9596 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9.11e-07/0.9249, allocations: 0 / 0.9596 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002572/0.9251, allocations: 21.64 kB / 0.9596 GB, free: 10.45 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003852/0.9255, allocations: 0.833 MB / 0.9604 GB, free: 9.617 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.285e-05/0.9256, allocations: 20.97 kB / 0.9604 GB, free: 9.613 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.9256, allocations: 1.062 kB / 0.9604 GB, free: 9.613 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.577e-06/0.9257, allocations: 5.938 kB / 0.9604 GB, free: 9.613 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005939/0.9263, allocations: 0.5018 MB / 0.9609 GB, free: 9.16 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001856/0.9281, allocations: 2.055 MB / 0.9629 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.9284, allocations: 0.7201 MB / 0.9636 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.553e-05/0.9285, allocations: 18.61 kB / 0.9637 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.1e-05/0.9285, allocations: 43.8 kB / 0.9637 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of SimCode: time 1.132e-06/0.9285, allocations: 1.5 kB / 0.9637 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01933/0.9479, allocations: 3.826 MB / 0.9674 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.43/8.378, allocations: 12.59 kB / 0.9675 GB, free: 6.457 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/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)