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.001089/0.001089, allocations: 107.1 kB / 16.41 MB, free: 6.496 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.001141/0.001141, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.425/1.425, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002254/0.002254, allocations: 284.8 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9659/0.9659, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 87.86 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4224/0.4244, allocations: 86.97 MB / 0.767 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u): time 0.1719/0.5963, allocations: 166.1 MB / 0.9292 GB, free: 13.17 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.005991/0.6024, allocations: 5.715 MB / 0.9348 GB, free: 7.43 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000227/0.6026, allocations: 7.938 kB / 0.9348 GB, free: 7.422 MB / 0.7012 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.000475/0.6031, allocations: 99.3 kB / 0.9349 GB, free: 7.324 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.0002458/0.6034, allocations: 55.61 kB / 0.935 GB, free: 7.27 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001506/0.6035, allocations: 35.95 kB / 0.935 GB, free: 7.234 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0003268/0.6039, allocations: 207.2 kB / 0.9352 GB, free: 7.031 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002258/0.6041, allocations: 90.62 kB / 0.9353 GB, free: 6.941 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002486/0.6044, allocations: 111.5 kB / 0.9354 GB, free: 6.832 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.6045, allocations: 67.7 kB / 0.9354 GB, free: 6.766 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 3.064e-05/0.6046, allocations: 8 kB / 0.9355 GB, free: 6.758 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 2.929e-05/0.6046, allocations: 16 kB / 0.9355 GB, free: 6.742 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 4.569e-05/0.6047, allocations: 31.84 kB / 0.9355 GB, free: 6.711 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 7.082e-05/0.6047, allocations: 63.69 kB / 0.9356 GB, free: 6.648 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.000211/0.6049, allocations: 165.9 kB / 0.9357 GB, free: 6.488 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.605, allocations: 0 / 0.9357 GB, free: 6.488 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.764e-06/0.605, allocations: 0 / 0.9357 GB, free: 6.488 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.605, allocations: 0 / 0.9357 GB, free: 6.488 MB / 0.7012 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.0005864/0.6056, allocations: 435 kB / 0.9361 GB, free: 6.016 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.6056, allocations: 15.97 kB / 0.9362 GB, free: 6 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.869e-05/0.6057, allocations: 19.81 kB / 0.9362 GB, free: 5.98 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003205/0.606, allocations: 259.1 kB / 0.9364 GB, free: 5.688 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.606, allocations: 8.234 kB / 0.9364 GB, free: 5.68 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.465e-05/0.606, allocations: 12 kB / 0.9364 GB, free: 5.668 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002442/0.6063, allocations: 176.7 kB / 0.9366 GB, free: 5.465 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.6063, allocations: 0 / 0.9366 GB, free: 5.465 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.825e-05/0.6063, allocations: 8 kB / 0.9366 GB, free: 5.457 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.6064, allocations: 4 kB / 0.9366 GB, free: 5.453 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/0.6065, allocations: 67.84 kB / 0.9367 GB, free: 5.387 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008874/0.6074, allocations: 1.152 MB / 0.9378 GB, free: 4.156 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 6.558e-05/0.6075, allocations: 169.1 kB / 0.938 GB, free: 3.98 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.486e-05/0.6075, allocations: 80.14 kB / 0.938 GB, free: 3.898 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 2.417e-05/0.6075, allocations: 79.22 kB / 0.9381 GB, free: 3.82 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.872e-05/0.6076, allocations: 109.8 kB / 0.9382 GB, free: 3.703 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=0): time 2.354e-06/0.6076, allocations: 4 kB / 0.9382 GB, free: 3.699 MB / 0.7012 GB Notification: Performance of matching and sorting (n=0): time 9.204e-05/0.6077, allocations: 45.45 kB / 0.9383 GB, free: 3.648 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.56e-05/0.6078, allocations: 182.1 kB / 0.9384 GB, free: 3.445 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002491/0.608, allocations: 252.9 kB / 0.9387 GB, free: 3.195 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.608, allocations: 25.7 kB / 0.9387 GB, free: 3.164 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 8.781e-05/0.6081, allocations: 135.9 kB / 0.9388 GB, free: 3.027 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 2.515e-06/0.6081, allocations: 0 / 0.9388 GB, free: 3.027 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.941e-05/0.6082, allocations: 21.7 kB / 0.9389 GB, free: 3 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.6083, allocations: 330.8 kB / 0.9392 GB, free: 2.668 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.346e-05/0.6083, allocations: 12 kB / 0.9392 GB, free: 2.656 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.772e-05/0.6084, allocations: 63.66 kB / 0.9392 GB, free: 2.566 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.721e-05/0.6085, allocations: 52.22 kB / 0.9393 GB, free: 2.5 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.6085, allocations: 0 / 0.9393 GB, free: 2.5 MB / 0.7012 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000161/0.6086, allocations: 93.41 kB / 0.9394 GB, free: 2.402 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.6087, allocations: 6.5 kB / 0.9394 GB, free: 2.398 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.6087, allocations: 8.156 kB / 0.9394 GB, free: 2.391 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.6087, allocations: 0 / 0.9394 GB, free: 2.391 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.421e-05/0.6088, allocations: 15.92 kB / 0.9394 GB, free: 2.375 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.6088, allocations: 0 / 0.9394 GB, free: 2.375 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.77e-05/0.6089, allocations: 15.84 kB / 0.9394 GB, free: 2.359 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-06/0.6089, allocations: 3.938 kB / 0.9394 GB, free: 2.355 MB / 0.7012 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.0001262/0.609, allocations: 207.5 kB / 0.9396 GB, free: 2.145 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.021e-05/0.6091, allocations: 124.7 kB / 0.9398 GB, free: 2.016 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.466e-05/0.6092, allocations: 125.8 kB / 0.9399 GB, free: 1.887 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.829e-05/0.6092, allocations: 176.3 kB / 0.94 GB, free: 1.707 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-05/0.6093, allocations: 180.2 kB / 0.9402 GB, free: 1.523 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.329e-05/0.6094, allocations: 184.3 kB / 0.9404 GB, free: 1.336 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002637/0.6096, allocations: 453.1 kB / 0.9408 GB, free: 0.8359 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.233e-05/0.6097, allocations: 112.9 kB / 0.9409 GB, free: 0.7188 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.859e-05/0.6097, allocations: 101 kB / 0.941 GB, free: 0.6133 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.952e-05/0.6098, allocations: 184.2 kB / 0.9412 GB, free: 436 kB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.097e-05/0.6098, allocations: 176.3 kB / 0.9414 GB, free: 252 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.719e-05/0.6099, allocations: 184.4 kB / 0.9415 GB, free: 60 kB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.731e-05/0.61, allocations: 184.3 kB / 0.9417 GB, free: 15.87 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000145/0.6101, allocations: 323.7 kB / 0.942 GB, free: 15.53 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 9.487e-05/0.6102, allocations: 197.8 kB / 0.9422 GB, free: 15.31 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.561e-05/0.6103, allocations: 192.1 kB / 0.9424 GB, free: 15.12 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.6105, allocations: 105 kB / 0.9425 GB, free: 15.01 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.239e-05/0.6105, allocations: 180.3 kB / 0.9427 GB, free: 14.82 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.319e-05/0.6106, allocations: 108.9 kB / 0.9428 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001682/0.6108, allocations: 184.5 kB / 0.943 GB, free: 14.53 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6108, allocations: 0 / 0.943 GB, free: 14.53 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002474/0.611, allocations: 20 kB / 0.943 GB, free: 14.51 MB / 0.7169 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.000127/0.6111, allocations: 170.5 kB / 0.9431 GB, free: 14.33 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.484e-05/0.6112, allocations: 28.05 kB / 0.9432 GB, free: 14.3 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.6112, allocations: 4 kB / 0.9432 GB, free: 14.3 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/0.6113, allocations: 0 / 0.9432 GB, free: 14.3 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005863/0.6118, allocations: 0.5041 MB / 0.9437 GB, free: 13.79 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004681/0.6123, allocations: 353 kB / 0.944 GB, free: 13.41 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.6126, allocations: 0.7202 MB / 0.9447 GB, free: 12.67 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.009e-05/0.6126, allocations: 15.44 kB / 0.9447 GB, free: 12.65 MB / 0.7169 GB Notification: Performance of SimCode: time 3.31e-07/0.6126, allocations: 0 / 0.9447 GB, free: 12.65 MB / 0.7169 GB Notification: Performance of Templates: time 0.003766/0.6164, allocations: 2.023 MB / 0.9467 GB, free: 10.64 MB / 0.7169 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)