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: translateModel(Buildings.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FMI.Validation.FlowSplitter_u") translateModel(Buildings.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FMI.Validation.FlowSplitter_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 107.8 kB / 15.99 MB, free: 6.352 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.001204/0.001204, allocations: 192.4 kB / 16.91 MB, free: 6.184 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.39/1.39, allocations: 205.1 MB / 222.8 MB, free: 4.676 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.703/1.703, allocations: 292.3 MB / 0.5492 GB, free: 13.6 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.001593/0.001593, allocations: 64.88 kB / 0.6716 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2309/0.2325, allocations: 114.5 MB / 0.7835 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.6783/0.9108, allocations: 163.9 MB / 0.9435 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.005315/0.9162, allocations: 5.639 MB / 0.949 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003115/0.9166, allocations: 7.812 kB / 0.949 GB, free: 5.879 MB / 0.7325 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.0004696/0.9171, allocations: 82.83 kB / 0.9491 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000238/0.9173, allocations: 47.95 kB / 0.9492 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000136/0.9175, allocations: 32.62 kB / 0.9492 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00029/0.9178, allocations: 221.4 kB / 0.9494 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000225/0.918, allocations: 91 kB / 0.9495 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002207/0.9183, allocations: 102.3 kB / 0.9496 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001591/0.9184, allocations: 72.59 kB / 0.9497 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.397e-05/0.9185, allocations: 10.5 kB / 0.9497 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.508e-05/0.9185, allocations: 9.5 kB / 0.9497 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.257e-05/0.9185, allocations: 28 kB / 0.9497 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.511e-05/0.9186, allocations: 71.03 kB / 0.9498 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001887/0.9188, allocations: 131.6 kB / 0.9499 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.9188, allocations: 0.5625 kB / 0.9499 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.793e-06/0.9188, allocations: 0 / 0.9499 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.9189, allocations: 0 / 0.9499 GB, free: 5.836 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.0009739/0.9198, allocations: 438.7 kB / 0.9503 GB, free: 21.45 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.9199, allocations: 12.8 kB / 0.9503 GB, free: 21.45 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.807e-05/0.92, allocations: 14.38 kB / 0.9503 GB, free: 21.44 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003421/0.9203, allocations: 242.4 kB / 0.9506 GB, free: 21.23 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.9203, allocations: 13.36 kB / 0.9506 GB, free: 21.22 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.149e-05/0.9204, allocations: 14.53 kB / 0.9506 GB, free: 21.22 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002659/0.9206, allocations: 172.6 kB / 0.9508 GB, free: 21.12 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.9206, allocations: 0 / 0.9508 GB, free: 21.12 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.9207, allocations: 6.406 kB / 0.9508 GB, free: 21.12 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.9207, allocations: 7.422 kB / 0.9508 GB, free: 21.12 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.9208, allocations: 70.78 kB / 0.9508 GB, free: 21.12 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008957/0.9217, allocations: 1.155 MB / 0.952 GB, free: 20.09 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 8.027e-05/0.9218, allocations: 168.7 kB / 0.9521 GB, free: 19.92 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.988e-05/0.9218, allocations: 84.14 kB / 0.9522 GB, free: 19.84 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.9219, allocations: 75.28 kB / 0.9523 GB, free: 19.76 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.68e-05/0.9219, allocations: 116.9 kB / 0.9524 GB, free: 19.64 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=0): time 1.393e-06/0.9219, allocations: 0 / 0.9524 GB, free: 19.64 MB / 0.7481 GB Notification: Performance of matching and sorting (n=0): time 8.078e-05/0.922, allocations: 47.55 kB / 0.9524 GB, free: 19.6 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.964e-05/0.9221, allocations: 180 kB / 0.9526 GB, free: 19.4 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002811/0.9224, allocations: 248.5 kB / 0.9529 GB, free: 19.3 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.9224, allocations: 25.7 kB / 0.9529 GB, free: 19.27 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 9.955e-05/0.9225, allocations: 139.7 kB / 0.953 GB, free: 19.17 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.575e-06/0.9225, allocations: 5.203 kB / 0.953 GB, free: 19.17 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.63e-05/0.9226, allocations: 20.52 kB / 0.953 GB, free: 19.15 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.9227, allocations: 326.6 kB / 0.9533 GB, free: 18.84 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.275e-05/0.9227, allocations: 11.34 kB / 0.9534 GB, free: 18.84 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.086e-05/0.9228, allocations: 70.69 kB / 0.9534 GB, free: 18.77 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.297e-05/0.9229, allocations: 44.8 kB / 0.9535 GB, free: 18.73 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.9229, allocations: 2.75 kB / 0.9535 GB, free: 18.73 MB / 0.7481 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001538/0.923, allocations: 91.98 kB / 0.9536 GB, free: 18.68 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.923, allocations: 5.062 kB / 0.9536 GB, free: 18.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.9231, allocations: 2.312 kB / 0.9536 GB, free: 18.68 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.9231, allocations: 3.281 kB / 0.9536 GB, free: 18.68 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.196e-05/0.9232, allocations: 9.375 kB / 0.9536 GB, free: 18.68 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.9232, allocations: 3.156 kB / 0.9536 GB, free: 18.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.978e-05/0.9233, allocations: 18.22 kB / 0.9536 GB, free: 18.67 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.9233, allocations: 3.156 kB / 0.9536 GB, free: 18.67 MB / 0.7481 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.0001637/0.9234, allocations: 215.4 kB / 0.9538 GB, free: 18.48 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.041e-05/0.9235, allocations: 121.4 kB / 0.9539 GB, free: 18.36 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.844e-05/0.9236, allocations: 121 kB / 0.954 GB, free: 18.25 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.911e-05/0.9237, allocations: 185.2 kB / 0.9542 GB, free: 18.07 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.918e-05/0.9238, allocations: 179.9 kB / 0.9544 GB, free: 17.89 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.134e-05/0.9239, allocations: 178.2 kB / 0.9546 GB, free: 17.71 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003269/0.9242, allocations: 459.3 kB / 0.955 GB, free: 17.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.641e-05/0.9242, allocations: 101 kB / 0.9551 GB, free: 17.16 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.916e-05/0.9243, allocations: 108.9 kB / 0.9552 GB, free: 17.05 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-05/0.9243, allocations: 180.8 kB / 0.9554 GB, free: 16.87 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.064e-05/0.9244, allocations: 177.9 kB / 0.9555 GB, free: 16.69 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.727e-05/0.9245, allocations: 186 kB / 0.9557 GB, free: 16.51 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.197e-05/0.9245, allocations: 182.9 kB / 0.9559 GB, free: 16.33 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001382/0.9247, allocations: 320.3 kB / 0.9562 GB, free: 16.01 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.694e-05/0.9248, allocations: 202.1 kB / 0.9564 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.668e-05/0.9249, allocations: 179 kB / 0.9566 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.925, allocations: 115.9 kB / 0.9567 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.428e-05/0.9251, allocations: 181.9 kB / 0.9568 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.448e-05/0.9251, allocations: 104.7 kB / 0.9569 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000168/0.9253, allocations: 183.2 kB / 0.9571 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9253, allocations: 0 / 0.9571 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002519/0.9255, allocations: 19.05 kB / 0.9571 GB, free: 15.15 MB / 0.7481 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.0001247/0.9257, allocations: 175.1 kB / 0.9573 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 9.801e-05/0.9258, allocations: 22.59 kB / 0.9573 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.9258, allocations: 0 / 0.9573 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.024e-06/0.9258, allocations: 2.906 kB / 0.9573 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006384/0.9264, allocations: 0.5057 MB / 0.9578 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004788/0.9269, allocations: 392.7 kB / 0.9582 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.9272, allocations: 0.7208 MB / 0.9589 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.763e-05/0.9272, allocations: 13.06 kB / 0.9589 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of SimCode: time 1.593e-06/0.9272, allocations: 0 / 0.9589 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of Templates: time 0.004602/0.9318, allocations: 1.999 MB / 0.9609 GB, free: 13.35 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.FMI.Validation.FlowSplitter_u.makefile (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 & ./Buildings_8_Buildings.Fluid.FMI.Validation.FlowSplitter_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)