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.001065/0.001065, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001132/0.001132, allocations: 189.1 kB / 16.25 MB, free: 6.617 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.367/1.367, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002134/0.002134, allocations: 302.7 kB / 290.4 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9536/0.9536, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 90.42 kB / 0.5947 GB, free: 28.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1554, allocations: 86.98 MB / 0.6796 GB, free: 1.086 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u): time 0.568/0.7235, allocations: 163.8 MB / 0.8396 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004518/0.7281, allocations: 5.66 MB / 0.8451 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002023/0.7283, allocations: 8.438 kB / 0.8451 GB, free: 15.01 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.0004335/0.7287, allocations: 80.5 kB / 0.8452 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002151/0.7289, allocations: 50.42 kB / 0.8453 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001182/0.7291, allocations: 31.27 kB / 0.8453 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003006/0.7294, allocations: 211.2 kB / 0.8455 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002249/0.7296, allocations: 96.56 kB / 0.8456 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000217/0.7298, allocations: 99.77 kB / 0.8457 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.73, allocations: 74.8 kB / 0.8458 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.73, allocations: 11.06 kB / 0.8458 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 2.406e-05/0.73, allocations: 12.62 kB / 0.8458 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.59e-05/0.7301, allocations: 32.52 kB / 0.8458 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.802e-05/0.7302, allocations: 67.03 kB / 0.8459 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001967/0.7304, allocations: 156.3 kB / 0.846 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.7304, allocations: 1.5 kB / 0.846 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7304, allocations: 4 kB / 0.846 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.7304, allocations: 0 / 0.846 GB, free: 14.64 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.0006579/0.7311, allocations: 448.2 kB / 0.8465 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.7311, allocations: 9.625 kB / 0.8465 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.051e-05/0.7312, allocations: 16.06 kB / 0.8465 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000299/0.7315, allocations: 243.5 kB / 0.8467 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.7315, allocations: 9.734 kB / 0.8467 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.058e-05/0.7315, allocations: 6.875 kB / 0.8467 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002723/0.7318, allocations: 174.5 kB / 0.8469 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.7318, allocations: 0 / 0.8469 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.885e-05/0.7319, allocations: 6.75 kB / 0.8469 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.7319, allocations: 2.75 kB / 0.8469 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.732, allocations: 71.67 kB / 0.847 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009932/0.733, allocations: 1.155 MB / 0.8481 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.898e-05/0.7331, allocations: 170.5 kB / 0.8483 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.994e-05/0.7332, allocations: 80.14 kB / 0.8483 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.7332, allocations: 75.28 kB / 0.8484 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.536e-05/0.7333, allocations: 115.2 kB / 0.8485 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 2.665e-06/0.7333, allocations: 0 / 0.8485 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 8.815e-05/0.7334, allocations: 46.05 kB / 0.8486 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.381e-05/0.7334, allocations: 179.8 kB / 0.8487 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000256/0.7337, allocations: 253 kB / 0.849 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.7337, allocations: 27.2 kB / 0.849 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.93e-05/0.7338, allocations: 140.2 kB / 0.8491 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.615e-06/0.7338, allocations: 0 / 0.8491 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.144e-05/0.7339, allocations: 24.38 kB / 0.8492 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.734, allocations: 323.8 kB / 0.8495 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.236e-05/0.734, allocations: 11.73 kB / 0.8495 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.635e-05/0.7341, allocations: 68.05 kB / 0.8496 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.369e-05/0.7342, allocations: 57.41 kB / 0.8496 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.7342, allocations: 1.344 kB / 0.8496 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002011/0.7344, allocations: 84.67 kB / 0.8497 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.7344, allocations: 9.906 kB / 0.8497 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.7344, allocations: 1.5 kB / 0.8497 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.7344, allocations: 1 kB / 0.8497 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.67e-05/0.7345, allocations: 15.36 kB / 0.8497 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.7345, allocations: 5.438 kB / 0.8497 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.649e-05/0.7346, allocations: 12.81 kB / 0.8497 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.7347, allocations: 3.094 kB / 0.8497 GB, free: 11.16 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.0001503/0.7348, allocations: 207.8 kB / 0.8499 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.7349, allocations: 131.5 kB / 0.8501 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.596e-05/0.735, allocations: 118.9 kB / 0.8502 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.335e-05/0.7351, allocations: 176.3 kB / 0.8503 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.607e-05/0.7351, allocations: 183.8 kB / 0.8505 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.235e-05/0.7352, allocations: 177.6 kB / 0.8507 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002919/0.7355, allocations: 449.9 kB / 0.8511 GB, free: 9.719 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.639e-05/0.7355, allocations: 108.6 kB / 0.8512 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.764e-05/0.7356, allocations: 106.3 kB / 0.8513 GB, free: 9.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.648e-05/0.7357, allocations: 187.6 kB / 0.8515 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.785e-05/0.7357, allocations: 178.8 kB / 0.8517 GB, free: 9.133 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.426e-05/0.7358, allocations: 181.6 kB / 0.8518 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.617e-05/0.7359, allocations: 181.3 kB / 0.852 GB, free: 8.766 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001449/0.736, allocations: 321.3 kB / 0.8523 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.856e-05/0.7361, allocations: 195.8 kB / 0.8525 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.054e-05/0.7362, allocations: 186.8 kB / 0.8527 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.7363, allocations: 108.7 kB / 0.8528 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.789e-05/0.7364, allocations: 181.5 kB / 0.853 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.842e-05/0.7365, allocations: 108.9 kB / 0.8531 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001696/0.7367, allocations: 187.7 kB / 0.8532 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7367, allocations: 0 / 0.8532 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002562/0.7369, allocations: 19.91 kB / 0.8533 GB, free: 7.527 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.0001216/0.737, allocations: 169.6 kB / 0.8534 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 8.4e-05/0.7371, allocations: 26.12 kB / 0.8535 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.7371, allocations: 0 / 0.8535 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.153e-06/0.7372, allocations: 1.094 kB / 0.8535 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005987/0.7378, allocations: 0.5041 MB / 0.8539 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004402/0.7382, allocations: 361.8 kB / 0.8543 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.7385, allocations: 0.7215 MB / 0.855 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.787e-05/0.7386, allocations: 22.45 kB / 0.855 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.592e-05/0.7386, allocations: 14.12 kB / 0.855 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of SimCode: time 4.31e-07/0.7386, allocations: 0 / 0.855 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of Templates: time 0.00425/0.7429, allocations: 1.937 MB / 0.8569 GB, free: 4.938 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)