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.001612/0.001612, allocations: 105.6 kB / 16.35 MB, free: 6.34 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.001813/0.001813, allocations: 198.2 kB / 17.3 MB, free: 5.879 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.347/1.347, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002156/0.002156, allocations: 277.4 kB / 291.4 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.006/1.006, allocations: 169.3 MB / 0.4989 GB, free: 4.469 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001821/0.001821, allocations: 94.67 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1829/0.1847, allocations: 86.98 MB / 0.6816 GB, free: 7.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u): time 0.5337/0.7185, allocations: 166.1 MB / 0.8438 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006296/0.7249, allocations: 5.704 MB / 0.8494 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002964/0.7252, allocations: 8 kB / 0.8494 GB, free: 2.648 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.0005371/0.7259, allocations: 104.1 kB / 0.8495 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002543/0.7262, allocations: 51.62 kB / 0.8495 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001491/0.7263, allocations: 35.89 kB / 0.8495 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000351/0.7267, allocations: 219.1 kB / 0.8498 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002752/0.727, allocations: 90.61 kB / 0.8498 GB, free: 2.16 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002522/0.7272, allocations: 99.64 kB / 0.8499 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.7274, allocations: 79.62 kB / 0.85 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.568e-05/0.7274, allocations: 8 kB / 0.85 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.308e-05/0.7274, allocations: 15.94 kB / 0.85 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.073e-05/0.7275, allocations: 19.92 kB / 0.8501 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.757e-05/0.7276, allocations: 75.61 kB / 0.8501 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002292/0.7278, allocations: 162.1 kB / 0.8503 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.7278, allocations: 0 / 0.8503 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7278, allocations: 0 / 0.8503 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.7279, allocations: 0 / 0.8503 GB, free: 1.711 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.0006584/0.7285, allocations: 431.6 kB / 0.8507 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.7286, allocations: 12.03 kB / 0.8507 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.032e-05/0.7286, allocations: 19.72 kB / 0.8507 GB, free: 1.211 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003498/0.729, allocations: 254.6 kB / 0.851 GB, free: 0.9219 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.345e-05/0.729, allocations: 12.23 kB / 0.851 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.032e-05/0.729, allocations: 12 kB / 0.851 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002388/0.7293, allocations: 169.6 kB / 0.8511 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.7293, allocations: 0 / 0.8511 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.879e-05/0.7293, allocations: 8 kB / 0.8512 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.7293, allocations: 0 / 0.8512 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001262/0.7295, allocations: 75.83 kB / 0.8512 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009045/0.7304, allocations: 1.156 MB / 0.8524 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 8.798e-05/0.7305, allocations: 169.1 kB / 0.8525 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.852e-05/0.7305, allocations: 80.14 kB / 0.8526 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.213e-05/0.7306, allocations: 79.28 kB / 0.8527 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.547e-05/0.7306, allocations: 109.8 kB / 0.8528 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=0): time 2.715e-06/0.7306, allocations: 0 / 0.8528 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of matching and sorting (n=0): time 0.0001071/0.7307, allocations: 53.44 kB / 0.8528 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.665e-05/0.7309, allocations: 182.1 kB / 0.853 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002605/0.7311, allocations: 241 kB / 0.8532 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.7311, allocations: 25.7 kB / 0.8533 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.7313, allocations: 143.9 kB / 0.8534 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.806e-06/0.7313, allocations: 3.938 kB / 0.8534 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.73e-05/0.7313, allocations: 25.56 kB / 0.8534 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.7314, allocations: 326.8 kB / 0.8537 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.27e-05/0.7315, allocations: 11.98 kB / 0.8537 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.988e-05/0.7315, allocations: 68.22 kB / 0.8538 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.662e-05/0.7316, allocations: 46.23 kB / 0.8539 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.7316, allocations: 0 / 0.8539 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001586/0.7318, allocations: 97.3 kB / 0.8539 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.7318, allocations: 6.344 kB / 0.854 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.7318, allocations: 4 kB / 0.854 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.7318, allocations: 0 / 0.854 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.925e-05/0.7319, allocations: 8 kB / 0.854 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.7319, allocations: 1.172 kB / 0.854 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.883e-05/0.732, allocations: 23.83 kB / 0.854 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.732, allocations: 0 / 0.854 GB, free: 13.59 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.0001269/0.7322, allocations: 209.2 kB / 0.8542 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.751e-05/0.7322, allocations: 124.7 kB / 0.8543 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.642e-05/0.7323, allocations: 117.9 kB / 0.8544 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.122e-05/0.7324, allocations: 184.2 kB / 0.8546 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.849e-05/0.7325, allocations: 176.3 kB / 0.8548 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.572e-05/0.7325, allocations: 200.4 kB / 0.855 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002831/0.7328, allocations: 445.2 kB / 0.8554 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-05/0.7329, allocations: 109 kB / 0.8555 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.743e-05/0.7329, allocations: 111.5 kB / 0.8556 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.768e-05/0.733, allocations: 176.3 kB / 0.8558 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.209e-05/0.7331, allocations: 180.2 kB / 0.8559 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.678e-05/0.7331, allocations: 184.3 kB / 0.8561 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.458e-05/0.7332, allocations: 180.2 kB / 0.8563 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001362/0.7333, allocations: 319.6 kB / 0.8566 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.7335, allocations: 205.8 kB / 0.8568 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.843e-05/0.7336, allocations: 180.3 kB / 0.8569 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.7337, allocations: 108.9 kB / 0.8571 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.243e-05/0.7337, allocations: 180.2 kB / 0.8572 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.421e-05/0.7338, allocations: 105 kB / 0.8573 GB, free: 9.949 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001606/0.734, allocations: 184.5 kB / 0.8575 GB, free: 9.773 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.31e-07/0.734, allocations: 0 / 0.8575 GB, free: 9.773 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002449/0.7342, allocations: 20 kB / 0.8575 GB, free: 9.754 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.0001374/0.7344, allocations: 174.5 kB / 0.8577 GB, free: 9.57 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 9.397e-05/0.7345, allocations: 23.92 kB / 0.8577 GB, free: 9.547 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.7345, allocations: 0 / 0.8577 GB, free: 9.547 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 3.266e-06/0.7345, allocations: 3.938 kB / 0.8577 GB, free: 9.543 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006217/0.7351, allocations: 0.5014 MB / 0.8582 GB, free: 9.035 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004603/0.7356, allocations: 328 kB / 0.8585 GB, free: 8.688 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/0.7359, allocations: 0.724 MB / 0.8592 GB, free: 7.938 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 6.625e-05/0.736, allocations: 21.53 kB / 0.8592 GB, free: 7.918 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.863e-05/0.736, allocations: 15.44 kB / 0.8593 GB, free: 7.902 MB / 0.6231 GB Notification: Performance of SimCode: time 2.2e-07/0.736, allocations: 4 kB / 0.8593 GB, free: 7.898 MB / 0.6231 GB Notification: Performance of Templates: time 0.004419/0.7404, allocations: 1.945 MB / 0.8612 GB, free: 5.996 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 gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)