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.001315/0.001314, allocations: 117.3 kB / 16.37 MB, free: 6.016 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.001383/0.001383, allocations: 189.7 kB / 17.3 MB, free: 5.613 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.267/1.267, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002011/0.002011, allocations: 296.4 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9166/0.9166, allocations: 169.2 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001665/0.001665, allocations: 94.12 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1635, allocations: 86.97 MB / 0.6816 GB, free: 7.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u): time 0.4631/0.6267, allocations: 166.1 MB / 0.8438 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004947/0.6316, allocations: 5.708 MB / 0.8494 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001504/0.6318, allocations: 7.938 kB / 0.8494 GB, free: 2.66 MB / 0.6075 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.0003596/0.6322, allocations: 95.3 kB / 0.8495 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001742/0.6324, allocations: 59.55 kB / 0.8495 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001198/0.6326, allocations: 31.95 kB / 0.8496 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002581/0.6328, allocations: 215.1 kB / 0.8498 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001983/0.633, allocations: 90.64 kB / 0.8499 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002019/0.6332, allocations: 95.62 kB / 0.8499 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.6334, allocations: 79.58 kB / 0.85 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.6334, allocations: 8 kB / 0.85 GB, free: 2 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.541e-05/0.6334, allocations: 12 kB / 0.85 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.727e-05/0.6335, allocations: 31.91 kB / 0.8501 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.561e-05/0.6336, allocations: 71.61 kB / 0.8501 GB, free: 1.887 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001657/0.6337, allocations: 154.2 kB / 0.8503 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.6338, allocations: 0 / 0.8503 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.102e-06/0.6338, allocations: 4 kB / 0.8503 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.6338, allocations: 0 / 0.8503 GB, free: 1.734 MB / 0.6075 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.0004956/0.6343, allocations: 435.6 kB / 0.8507 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.6343, allocations: 11.97 kB / 0.8507 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.98e-05/0.6344, allocations: 19.72 kB / 0.8507 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003451/0.6347, allocations: 254.7 kB / 0.851 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.6347, allocations: 12.23 kB / 0.851 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.6348, allocations: 12 kB / 0.851 GB, free: 0.918 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002233/0.635, allocations: 176.4 kB / 0.8512 GB, free: 0.7188 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.635, allocations: 3.938 kB / 0.8512 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.635, allocations: 8 kB / 0.8512 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.635, allocations: 7.938 kB / 0.8512 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.6351, allocations: 63.89 kB / 0.8512 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008724/0.636, allocations: 1.156 MB / 0.8524 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 7.335e-05/0.6361, allocations: 169.1 kB / 0.8525 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.061e-05/0.6362, allocations: 84.14 kB / 0.8526 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.6362, allocations: 75.28 kB / 0.8527 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.978e-05/0.6363, allocations: 113.8 kB / 0.8528 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.6363, allocations: 4 kB / 0.8528 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of matching and sorting (n=0): time 7.944e-05/0.6364, allocations: 41.52 kB / 0.8528 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.426e-05/0.6365, allocations: 182 kB / 0.853 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002533/0.6367, allocations: 253 kB / 0.8533 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.6367, allocations: 25.7 kB / 0.8533 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 9.207e-05/0.6368, allocations: 135.9 kB / 0.8534 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.996e-06/0.6369, allocations: 0 / 0.8534 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.089e-05/0.6369, allocations: 25.62 kB / 0.8534 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001695/0.6371, allocations: 326.8 kB / 0.8537 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.073e-05/0.6371, allocations: 7.984 kB / 0.8538 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.628e-05/0.6372, allocations: 71.72 kB / 0.8538 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.528e-05/0.6373, allocations: 44.23 kB / 0.8539 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.6373, allocations: 4 kB / 0.8539 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001691/0.6374, allocations: 93.3 kB / 0.854 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.6375, allocations: 8 kB / 0.854 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.6375, allocations: 0 / 0.854 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.6375, allocations: 0 / 0.854 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.745e-05/0.6376, allocations: 8 kB / 0.854 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.6376, allocations: 4 kB / 0.854 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.492e-05/0.6376, allocations: 16 kB / 0.854 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.6377, allocations: 4 kB / 0.854 GB, free: 13.61 MB / 0.6231 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.0001285/0.6378, allocations: 205 kB / 0.8542 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.757e-05/0.6379, allocations: 120.7 kB / 0.8543 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.778e-05/0.6379, allocations: 125.8 kB / 0.8544 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.788e-05/0.638, allocations: 176.3 kB / 0.8546 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.069e-05/0.6381, allocations: 185.1 kB / 0.8548 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.954e-05/0.6381, allocations: 192.3 kB / 0.855 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003257/0.6385, allocations: 449.2 kB / 0.8554 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.005e-05/0.6385, allocations: 108.9 kB / 0.8555 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.245e-05/0.6385, allocations: 108.9 kB / 0.8556 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.922e-05/0.6386, allocations: 176.3 kB / 0.8558 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001157/0.6388, allocations: 196 kB / 0.8559 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001077/0.6389, allocations: 176.3 kB / 0.8561 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.612e-05/0.639, allocations: 184.2 kB / 0.8563 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001593/0.6391, allocations: 315.6 kB / 0.8566 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/0.6393, allocations: 209.8 kB / 0.8568 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.822e-05/0.6394, allocations: 176.3 kB / 0.857 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.6395, allocations: 108.9 kB / 0.8571 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.015e-05/0.6396, allocations: 176.3 kB / 0.8572 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.892e-05/0.6396, allocations: 101 kB / 0.8573 GB, free: 9.977 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001558/0.6398, allocations: 188.5 kB / 0.8575 GB, free: 9.797 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6398, allocations: 7.938 kB / 0.8575 GB, free: 9.789 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002713/0.64, allocations: 20 kB / 0.8575 GB, free: 9.77 MB / 0.6231 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.0001101/0.6402, allocations: 174.5 kB / 0.8577 GB, free: 9.586 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 8.169e-05/0.6402, allocations: 15.98 kB / 0.8577 GB, free: 9.57 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.6403, allocations: 7.938 kB / 0.8577 GB, free: 9.562 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.6403, allocations: 0 / 0.8577 GB, free: 9.562 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005426/0.6408, allocations: 0.4997 MB / 0.8582 GB, free: 9.059 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004641/0.6413, allocations: 333.6 kB / 0.8585 GB, free: 8.707 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002834/0.6416, allocations: 0.7201 MB / 0.8592 GB, free: 7.961 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 6.482e-05/0.6416, allocations: 25.58 kB / 0.8593 GB, free: 7.938 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.689e-05/0.6417, allocations: 15.44 kB / 0.8593 GB, free: 7.922 MB / 0.6231 GB Notification: Performance of SimCode: time 2.41e-07/0.6417, allocations: 0 / 0.8593 GB, free: 7.922 MB / 0.6231 GB Notification: Performance of Templates: time 0.004352/0.646, allocations: 1.945 MB / 0.8612 GB, free: 6.02 MB / 0.6231 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)