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.001231/0.001231, allocations: 113 kB / 16.42 MB, free: 6.469 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.001248/0.001248, allocations: 186.7 kB / 17.35 MB, free: 5.715 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.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002176/0.002176, allocations: 287.5 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.941/0.941, allocations: 169.2 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002101/0.002101, allocations: 99.83 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4448/0.4469, allocations: 86.96 MB / 0.767 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u): time 0.1869/0.6339, allocations: 166.1 MB / 0.9292 GB, free: 13.2 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.007384/0.6413, allocations: 5.704 MB / 0.9348 GB, free: 7.477 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003677/0.6417, allocations: 11.94 kB / 0.9348 GB, free: 7.465 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.0006878/0.6424, allocations: 94.33 kB / 0.9349 GB, free: 7.375 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.0004234/0.6429, allocations: 55.55 kB / 0.935 GB, free: 7.32 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002528/0.6431, allocations: 35.95 kB / 0.935 GB, free: 7.285 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0004931/0.6437, allocations: 211.1 kB / 0.9352 GB, free: 7.078 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002923/0.644, allocations: 94.62 kB / 0.9353 GB, free: 6.984 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003097/0.6443, allocations: 107.6 kB / 0.9354 GB, free: 6.879 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001729/0.6445, allocations: 71.59 kB / 0.9355 GB, free: 6.809 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 2.583e-05/0.6445, allocations: 8 kB / 0.9355 GB, free: 6.801 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 3.035e-05/0.6445, allocations: 12 kB / 0.9355 GB, free: 6.789 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 5.332e-05/0.6446, allocations: 35.84 kB / 0.9355 GB, free: 6.754 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 8.524e-05/0.6447, allocations: 67.67 kB / 0.9356 GB, free: 6.688 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0002316/0.6449, allocations: 154 kB / 0.9357 GB, free: 6.539 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.6449, allocations: 0 / 0.9357 GB, free: 6.539 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.024e-06/0.6449, allocations: 0 / 0.9357 GB, free: 6.539 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 9.829e-06/0.645, allocations: 0 / 0.9357 GB, free: 6.539 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.0007718/0.6457, allocations: 443 kB / 0.9361 GB, free: 6.059 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.6458, allocations: 8.031 kB / 0.9362 GB, free: 6.051 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.411e-05/0.6459, allocations: 15.81 kB / 0.9362 GB, free: 6.035 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003727/0.6462, allocations: 263.7 kB / 0.9364 GB, free: 5.738 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.6463, allocations: 16.17 kB / 0.9364 GB, free: 5.723 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.909e-05/0.6463, allocations: 16 kB / 0.9365 GB, free: 5.707 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000288/0.6466, allocations: 168.4 kB / 0.9366 GB, free: 5.516 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.6466, allocations: 0 / 0.9366 GB, free: 5.516 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.492e-05/0.6467, allocations: 15.98 kB / 0.9366 GB, free: 5.5 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.6467, allocations: 3.938 kB / 0.9366 GB, free: 5.496 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001471/0.6468, allocations: 63.91 kB / 0.9367 GB, free: 5.434 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.6479, allocations: 1.144 MB / 0.9378 GB, free: 4.211 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 9.565e-05/0.6481, allocations: 169.1 kB / 0.938 GB, free: 4.035 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.854e-05/0.6481, allocations: 80.14 kB / 0.938 GB, free: 3.953 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 3.145e-05/0.6481, allocations: 87.16 kB / 0.9381 GB, free: 3.867 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.919e-05/0.6482, allocations: 113.8 kB / 0.9382 GB, free: 3.746 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=0): time 1.202e-06/0.6482, allocations: 0 / 0.9382 GB, free: 3.746 MB / 0.7012 GB Notification: Performance of matching and sorting (n=0): time 0.0001072/0.6483, allocations: 45.52 kB / 0.9383 GB, free: 3.695 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.075e-05/0.6484, allocations: 102.8 kB / 0.9384 GB, free: 3.57 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002894/0.6487, allocations: 252.9 kB / 0.9386 GB, free: 3.32 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.6487, allocations: 29.64 kB / 0.9386 GB, free: 3.285 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 9.598e-05/0.6488, allocations: 135.9 kB / 0.9388 GB, free: 3.148 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 2.425e-06/0.6488, allocations: 0 / 0.9388 GB, free: 3.148 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.926e-05/0.6489, allocations: 17.72 kB / 0.9388 GB, free: 3.125 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.649, allocations: 330.8 kB / 0.9391 GB, free: 2.793 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.23e-05/0.649, allocations: 8 kB / 0.9391 GB, free: 2.785 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.286e-05/0.6491, allocations: 67.72 kB / 0.9392 GB, free: 2.691 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.084e-05/0.6492, allocations: 48.22 kB / 0.9392 GB, free: 2.629 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.6492, allocations: 0 / 0.9392 GB, free: 2.629 MB / 0.7012 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001833/0.6494, allocations: 93.31 kB / 0.9393 GB, free: 2.531 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.6494, allocations: 4 kB / 0.9393 GB, free: 2.527 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.6494, allocations: 4 kB / 0.9393 GB, free: 2.523 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.6494, allocations: 0 / 0.9393 GB, free: 2.523 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.868e-05/0.6495, allocations: 12 kB / 0.9393 GB, free: 2.512 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.6495, allocations: 3.984 kB / 0.9393 GB, free: 2.508 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.332e-05/0.6496, allocations: 19.97 kB / 0.9394 GB, free: 2.488 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.6496, allocations: 0 / 0.9394 GB, free: 2.488 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.000145/0.6498, allocations: 215.6 kB / 0.9396 GB, free: 2.27 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.233e-05/0.6499, allocations: 120.7 kB / 0.9397 GB, free: 2.145 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.263e-05/0.6499, allocations: 121.8 kB / 0.9398 GB, free: 2.02 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.253e-05/0.65, allocations: 184.1 kB / 0.94 GB, free: 1.832 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.469e-05/0.65, allocations: 101 kB / 0.9401 GB, free: 1.727 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.6502, allocations: 209.9 kB / 0.9403 GB, free: 1.496 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.23e-05/0.6503, allocations: 184.3 kB / 0.9404 GB, free: 1.309 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.6504, allocations: 101 kB / 0.9405 GB, free: 1.203 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.7e-05/0.6504, allocations: 180.2 kB / 0.9407 GB, free: 1.02 MB / 0.7012 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.147e-05/0.6505, allocations: 263.5 kB / 0.941 GB, free: 0.7539 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001889/0.6507, allocations: 403 kB / 0.9413 GB, free: 344 kB / 0.7012 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.258e-05/0.6508, allocations: 108.9 kB / 0.9415 GB, free: 228 kB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0001796/0.651, allocations: 180.5 kB / 0.9416 GB, free: 48 kB / 0.7012 GB Notification: Performance of Backend: time 3.01e-07/0.651, allocations: 0 / 0.9416 GB, free: 48 kB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0004254/0.6514, allocations: 97.14 kB / 0.9417 GB, free: 15.95 MB / 0.7169 GB Notification: Performance of SimCode: time 0.0009827/0.6524, allocations: 1.053 MB / 0.9427 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of Templates: time 0.004951/0.6574, allocations: 1.955 MB / 0.9447 GB, free: 12.92 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)