Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8424/0.8424, allocations: 143.8 MB / 159.1 MB, free: 6.516 MB / 122.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001026/0.001027, allocations: 183.3 kB / 192 MB, free: 6.723 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 225.7 MB / 450.4 MB, free: 4.98 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008364/0.0008362, allocations: 110.4 kB / 0.5211 GB, free: 1.641 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001718/0.001719, allocations: 282.6 kB / 0.6025 GB, free: 49.29 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004052/0.0004053, allocations: 16.69 kB / 0.6948 GB, free: 59.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1619, allocations: 82.45 MB / 0.7753 GB, free: 14.36 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u): time 0.5146/0.6766, allocations: 155.7 MB / 0.9273 GB, free: 10.14 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.006075/0.6827, allocations: 6.294 MB / 0.9335 GB, free: 8.621 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002429/0.683, allocations: 8.531 kB / 0.9335 GB, free: 8.617 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0003874/0.6834, allocations: 72.47 kB / 0.9336 GB, free: 8.59 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002734/0.6837, allocations: 55.34 kB / 0.9336 GB, free: 8.57 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001387/0.6838, allocations: 28.45 kB / 0.9336 GB, free: 8.57 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0004142/0.6843, allocations: 257 kB / 0.9339 GB, free: 8.527 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002184/0.6845, allocations: 83.67 kB / 0.934 GB, free: 8.512 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002432/0.6847, allocations: 83.89 kB / 0.934 GB, free: 8.5 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001432/0.6849, allocations: 67.91 kB / 0.9341 GB, free: 8.496 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.6849, allocations: 2.75 kB / 0.9341 GB, free: 8.496 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 2.772e-05/0.685, allocations: 6.75 kB / 0.9341 GB, free: 8.492 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 4.375e-05/0.685, allocations: 16 kB / 0.9341 GB, free: 8.492 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 8.648e-05/0.6851, allocations: 81.58 kB / 0.9342 GB, free: 8.461 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001833/0.6853, allocations: 143 kB / 0.9344 GB, free: 8.453 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.6853, allocations: 3 kB / 0.9344 GB, free: 8.453 MB / 0.5573 GB Notification: Performance of FrontEnd: time 3.164e-05/0.6853, allocations: 1.375 kB / 0.9344 GB, free: 8.453 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 9.709e-06/0.6854, allocations: 0 / 0.9344 GB, free: 8.453 MB / 0.5573 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.0005352/0.6859, allocations: 413.5 kB / 0.9347 GB, free: 8.062 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.6859, allocations: 9.469 kB / 0.9348 GB, free: 8.062 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.577e-05/0.686, allocations: 23.31 kB / 0.9348 GB, free: 8.051 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003117/0.6863, allocations: 245 kB / 0.935 GB, free: 7.832 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.6864, allocations: 7.453 kB / 0.935 GB, free: 7.832 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/0.6864, allocations: 10.22 kB / 0.935 GB, free: 7.832 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002587/0.6866, allocations: 176.2 kB / 0.9352 GB, free: 7.727 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.6867, allocations: 0 / 0.9352 GB, free: 7.727 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.6867, allocations: 6 kB / 0.9352 GB, free: 7.727 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.6867, allocations: 2.781 kB / 0.9352 GB, free: 7.727 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.6868, allocations: 72.84 kB / 0.9353 GB, free: 7.715 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000979/0.6878, allocations: 1.152 MB / 0.9364 GB, free: 6.684 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 7.697e-05/0.6879, allocations: 165.1 kB / 0.9366 GB, free: 6.512 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.356e-05/0.688, allocations: 85.86 kB / 0.9366 GB, free: 6.426 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.637e-05/0.688, allocations: 75.28 kB / 0.9367 GB, free: 6.352 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.286e-05/0.6881, allocations: 118.2 kB / 0.9368 GB, free: 6.23 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 1.313e-06/0.6881, allocations: 1.859 kB / 0.9368 GB, free: 6.23 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 9.929e-05/0.6882, allocations: 44.72 kB / 0.9369 GB, free: 6.191 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.6883, allocations: 179.2 kB / 0.937 GB, free: 5.992 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002722/0.6886, allocations: 258 kB / 0.9373 GB, free: 5.875 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.6886, allocations: 25.7 kB / 0.9373 GB, free: 5.844 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 8.646e-05/0.6887, allocations: 131.5 kB / 0.9374 GB, free: 5.75 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.866e-06/0.6887, allocations: 3.5 kB / 0.9374 GB, free: 5.75 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.816e-06/0.6887, allocations: 0.5 kB / 0.9374 GB, free: 5.75 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.6888, allocations: 328.6 kB / 0.9378 GB, free: 5.438 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.186e-05/0.6889, allocations: 7.969 kB / 0.9378 GB, free: 5.438 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.129e-05/0.6889, allocations: 71.73 kB / 0.9378 GB, free: 5.359 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.79e-05/0.689, allocations: 52.72 kB / 0.9379 GB, free: 5.312 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.689, allocations: 1.062 kB / 0.9379 GB, free: 5.312 MB / 0.5573 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001718/0.6892, allocations: 86.73 kB / 0.938 GB, free: 5.262 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.6892, allocations: 5.125 kB / 0.938 GB, free: 5.262 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.6892, allocations: 4.141 kB / 0.938 GB, free: 5.262 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.6892, allocations: 1.781 kB / 0.938 GB, free: 5.262 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.761e-05/0.6893, allocations: 8.969 kB / 0.938 GB, free: 5.262 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.6893, allocations: 1 kB / 0.938 GB, free: 5.262 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.642e-05/0.6894, allocations: 20.62 kB / 0.938 GB, free: 5.25 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.6895, allocations: 5.578 kB / 0.938 GB, free: 5.25 MB / 0.5573 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.0001457/0.6896, allocations: 199.6 kB / 0.9382 GB, free: 5.062 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.377e-05/0.6897, allocations: 127.4 kB / 0.9383 GB, free: 4.941 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.957e-05/0.6898, allocations: 119.5 kB / 0.9384 GB, free: 4.836 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-05/0.6899, allocations: 184.6 kB / 0.9386 GB, free: 4.652 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.985e-05/0.6899, allocations: 185.5 kB / 0.9388 GB, free: 4.465 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.714e-05/0.69, allocations: 177.3 kB / 0.939 GB, free: 4.285 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003027/0.6903, allocations: 452.9 kB / 0.9394 GB, free: 3.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.219e-05/0.6904, allocations: 104.6 kB / 0.9395 GB, free: 3.734 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.122e-05/0.6904, allocations: 108.9 kB / 0.9396 GB, free: 3.621 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.01e-05/0.6905, allocations: 177.8 kB / 0.9398 GB, free: 3.441 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.163e-05/0.6905, allocations: 184.3 kB / 0.9399 GB, free: 3.258 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.827e-05/0.6906, allocations: 183.2 kB / 0.9401 GB, free: 3.074 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.537e-05/0.6907, allocations: 179.4 kB / 0.9403 GB, free: 2.895 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001616/0.6909, allocations: 326.9 kB / 0.9406 GB, free: 2.566 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.691, allocations: 203.5 kB / 0.9408 GB, free: 2.352 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.946e-05/0.6911, allocations: 181.7 kB / 0.941 GB, free: 2.168 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.6912, allocations: 105.7 kB / 0.9411 GB, free: 2.062 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.987e-05/0.6913, allocations: 184.5 kB / 0.9412 GB, free: 1.879 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.273e-05/0.6913, allocations: 102 kB / 0.9413 GB, free: 1.773 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001813/0.6915, allocations: 183.8 kB / 0.9415 GB, free: 1.699 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.7e-07/0.6915, allocations: 4 kB / 0.9415 GB, free: 1.695 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002656/0.6918, allocations: 19.5 kB / 0.9415 GB, free: 1.695 MB / 0.5573 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.0001329/0.6919, allocations: 176.4 kB / 0.9417 GB, free: 1.531 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 9.073e-05/0.692, allocations: 24.7 kB / 0.9417 GB, free: 1.523 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.692, allocations: 1.406 kB / 0.9417 GB, free: 1.523 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/0.692, allocations: 0 / 0.9417 GB, free: 1.523 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000661/0.6927, allocations: 0.5804 MB / 0.9423 GB, free: 0.9922 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005067/0.6932, allocations: 360.1 kB / 0.9426 GB, free: 0.7188 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.6935, allocations: 0.7155 MB / 0.9433 GB, free: 20 kB / 0.5573 GB Notification: Performance of simCode: alias equations: time 9.415e-05/0.6936, allocations: 21.23 kB / 0.9434 GB, free: 20 kB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.952e-05/0.6937, allocations: 19.38 kB / 0.9434 GB, free: 8 kB / 0.5573 GB Notification: Performance of SimCode: time 5.11e-07/0.6937, allocations: 0 / 0.9434 GB, free: 8 kB / 0.5573 GB Notification: Performance of Templates: time 0.005217/0.6989, allocations: 1.857 MB / 0.9452 GB, free: 15.78 MB / 0.573 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)