Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u") translateModel(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001279/0.001279, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001244/0.001244, allocations: 191.5 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002013/0.002013, allocations: 283 kB / 290.2 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9092/0.9092, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001642/0.001642, allocations: 93.53 kB / 0.5945 GB, free: 28.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1686, allocations: 86.98 MB / 0.6794 GB, free: 1.191 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u): time 0.5068/0.6755, allocations: 163.9 MB / 0.8395 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004668/0.6802, allocations: 5.692 MB / 0.845 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002792/0.6805, allocations: 9.5 kB / 0.845 GB, free: 15.17 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/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.0004318/0.681, allocations: 83.62 kB / 0.8451 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001904/0.6812, allocations: 47.31 kB / 0.8452 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001282/0.6813, allocations: 35.12 kB / 0.8452 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002817/0.6816, allocations: 255.5 kB / 0.8454 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001756/0.6818, allocations: 82.98 kB / 0.8455 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001865/0.682, allocations: 90.39 kB / 0.8456 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.6821, allocations: 80.62 kB / 0.8457 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.6821, allocations: 6.875 kB / 0.8457 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 2.61e-05/0.6822, allocations: 10.81 kB / 0.8457 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.993e-05/0.6822, allocations: 30.73 kB / 0.8457 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.394e-05/0.6823, allocations: 64.42 kB / 0.8458 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.6825, allocations: 154.2 kB / 0.8459 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.6825, allocations: 0 / 0.8459 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of FrontEnd: time 8.92e-07/0.6825, allocations: 0 / 0.8459 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.6825, allocations: 0 / 0.8459 GB, free: 14.61 MB / 0.5762 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.0006288/0.6831, allocations: 446.2 kB / 0.8464 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.6832, allocations: 9.625 kB / 0.8464 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.041e-05/0.6832, allocations: 17.44 kB / 0.8464 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000285/0.6835, allocations: 245.5 kB / 0.8466 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.6835, allocations: 8.359 kB / 0.8466 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.894e-05/0.6836, allocations: 12.25 kB / 0.8466 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002458/0.6838, allocations: 175.5 kB / 0.8468 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.6838, allocations: 1.375 kB / 0.8468 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/0.6839, allocations: 5.375 kB / 0.8468 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.6839, allocations: 4.125 kB / 0.8468 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/0.684, allocations: 70.17 kB / 0.8469 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000922/0.6849, allocations: 1.151 MB / 0.848 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 7.896e-05/0.685, allocations: 174.4 kB / 0.8482 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.271e-05/0.6851, allocations: 80.14 kB / 0.8483 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.854e-05/0.6851, allocations: 76.53 kB / 0.8483 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.883e-05/0.6852, allocations: 110.8 kB / 0.8484 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/0.6852, allocations: 0 / 0.8484 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 9.901e-05/0.6853, allocations: 54.94 kB / 0.8485 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.393e-05/0.6854, allocations: 178.1 kB / 0.8487 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002713/0.6857, allocations: 246.3 kB / 0.8489 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.6857, allocations: 31.05 kB / 0.8489 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.664e-05/0.6858, allocations: 136.7 kB / 0.849 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.995e-06/0.6858, allocations: 1.094 kB / 0.849 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.796e-05/0.6858, allocations: 19.94 kB / 0.8491 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.6859, allocations: 331.1 kB / 0.8494 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.008e-05/0.686, allocations: 11.94 kB / 0.8494 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.346e-05/0.686, allocations: 67.19 kB / 0.8495 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.977e-05/0.6861, allocations: 52.12 kB / 0.8495 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.6861, allocations: 0 / 0.8495 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001506/0.6863, allocations: 88.19 kB / 0.8496 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.6863, allocations: 4.688 kB / 0.8496 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.6863, allocations: 1.562 kB / 0.8496 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.6863, allocations: 1.828 kB / 0.8496 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.106e-05/0.6864, allocations: 19.83 kB / 0.8496 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.6864, allocations: 5.25 kB / 0.8496 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.585e-05/0.6865, allocations: 21.61 kB / 0.8496 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.6865, allocations: 2.5 kB / 0.8496 GB, free: 10.95 MB / 0.5762 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.0001573/0.6867, allocations: 205.6 kB / 0.8498 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.505e-05/0.6868, allocations: 124.3 kB / 0.85 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.288e-05/0.6868, allocations: 120.5 kB / 0.8501 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-05/0.6869, allocations: 189.5 kB / 0.8503 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.049e-05/0.687, allocations: 177.5 kB / 0.8504 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-05/0.6871, allocations: 180.2 kB / 0.8506 GB, free: 9.949 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002953/0.6874, allocations: 452.9 kB / 0.851 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.71e-05/0.6874, allocations: 102.5 kB / 0.8511 GB, free: 9.363 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.254e-05/0.6875, allocations: 113.9 kB / 0.8512 GB, free: 9.246 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.879e-05/0.6875, allocations: 181.4 kB / 0.8514 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.87e-05/0.6876, allocations: 181 kB / 0.8516 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.35e-05/0.6877, allocations: 180.9 kB / 0.8518 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.286e-05/0.6878, allocations: 181.5 kB / 0.8519 GB, free: 8.512 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001664/0.6879, allocations: 318.8 kB / 0.8522 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.688, allocations: 206.1 kB / 0.8524 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.367e-05/0.6881, allocations: 177.5 kB / 0.8526 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.6883, allocations: 106.3 kB / 0.8527 GB, free: 7.676 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.651e-05/0.6883, allocations: 181.7 kB / 0.8529 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.132e-05/0.6884, allocations: 106.4 kB / 0.853 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001879/0.6886, allocations: 182.2 kB / 0.8531 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6886, allocations: 0 / 0.8531 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002494/0.6888, allocations: 20.78 kB / 0.8532 GB, free: 7.258 MB / 0.5762 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.0001328/0.689, allocations: 177.5 kB / 0.8533 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 8.846e-05/0.6891, allocations: 16.25 kB / 0.8534 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.6891, allocations: 4.25 kB / 0.8534 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.016e-06/0.6891, allocations: 7.938 kB / 0.8534 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006377/0.6897, allocations: 0.5773 MB / 0.8539 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004647/0.6902, allocations: 348.4 kB / 0.8543 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.6905, allocations: 0.716 MB / 0.855 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.203e-05/0.6906, allocations: 29.77 kB / 0.855 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.965e-05/0.6906, allocations: 15.19 kB / 0.855 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of SimCode: time 2.41e-07/0.6906, allocations: 0 / 0.855 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of Templates: time 0.004316/0.695, allocations: 1.865 MB / 0.8568 GB, free: 4.586 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.sim & ./BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)