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.001698/0.001698, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001898/0.001898, allocations: 196.2 kB / 16.14 MB, free: 6.684 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.5/1.5, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002545/0.002545, allocations: 278.8 kB / 290.2 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.065/1.065, allocations: 178.6 MB / 0.5068 GB, free: 4.785 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002766/0.002766, allocations: 98.75 kB / 0.6057 GB, free: 25.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.168, allocations: 89.15 MB / 0.6928 GB, free: 4.859 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u): time 0.5248/0.6928, allocations: 163.9 MB / 0.8528 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006396/0.6992, allocations: 5.707 MB / 0.8584 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002519/0.6995, allocations: 8.781 kB / 0.8584 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000408/0.6999, allocations: 77.97 kB / 0.8585 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002247/0.7002, allocations: 58 kB / 0.8585 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001183/0.7003, allocations: 24.77 kB / 0.8586 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0003267/0.7007, allocations: 262.4 kB / 0.8588 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002041/0.7009, allocations: 80.81 kB / 0.8589 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002138/0.7011, allocations: 93.52 kB / 0.859 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001415/0.7013, allocations: 75.17 kB / 0.859 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.7013, allocations: 5.062 kB / 0.8591 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 2.529e-05/0.7013, allocations: 7.281 kB / 0.8591 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 5.519e-05/0.7014, allocations: 27.33 kB / 0.8591 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 8.597e-05/0.7015, allocations: 68.58 kB / 0.8591 GB, free: 12 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001916/0.7017, allocations: 160.3 kB / 0.8593 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.7017, allocations: 0 / 0.8593 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.332e-06/0.7017, allocations: 0 / 0.8593 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.7017, allocations: 2.125 kB / 0.8593 GB, free: 11.88 MB / 0.5919 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.0006727/0.7024, allocations: 444.8 kB / 0.8597 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.7024, allocations: 10.12 kB / 0.8597 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.004e-05/0.7025, allocations: 15.12 kB / 0.8598 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003017/0.7028, allocations: 234.5 kB / 0.86 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.7028, allocations: 12.98 kB / 0.86 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/0.7028, allocations: 11.91 kB / 0.86 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002721/0.7031, allocations: 172.6 kB / 0.8602 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.7031, allocations: 2.406 kB / 0.8602 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.7032, allocations: 8 kB / 0.8602 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.7032, allocations: 4.406 kB / 0.8602 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.7033, allocations: 75.52 kB / 0.8603 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.7044, allocations: 1.146 MB / 0.8614 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.7045, allocations: 169.1 kB / 0.8615 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.07e-05/0.7045, allocations: 84.14 kB / 0.8616 GB, free: 9.574 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.022e-05/0.7046, allocations: 79.28 kB / 0.8617 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.695e-05/0.7046, allocations: 116.5 kB / 0.8618 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 1.202e-06/0.7046, allocations: 0 / 0.8618 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 9.112e-05/0.7047, allocations: 42.95 kB / 0.8618 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.7048, allocations: 178.1 kB / 0.862 GB, free: 9.137 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002808/0.7051, allocations: 249.7 kB / 0.8622 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.7051, allocations: 25.7 kB / 0.8623 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.7053, allocations: 137.3 kB / 0.8624 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.008e-06/0.7053, allocations: 2.75 kB / 0.8624 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.199e-05/0.7053, allocations: 22.98 kB / 0.8624 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.7055, allocations: 331.4 kB / 0.8627 GB, free: 8.453 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.425e-05/0.7055, allocations: 9.656 kB / 0.8628 GB, free: 8.449 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.22e-05/0.7056, allocations: 73.69 kB / 0.8628 GB, free: 8.359 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.864e-05/0.7057, allocations: 52.59 kB / 0.8629 GB, free: 8.305 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.7057, allocations: 0 / 0.8629 GB, free: 8.305 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00017/0.7058, allocations: 87.09 kB / 0.863 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.7059, allocations: 5.375 kB / 0.863 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.7059, allocations: 3.938 kB / 0.863 GB, free: 8.238 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.7059, allocations: 2.469 kB / 0.863 GB, free: 8.238 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.633e-05/0.706, allocations: 11.69 kB / 0.863 GB, free: 8.234 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.706, allocations: 2.562 kB / 0.863 GB, free: 8.234 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.232e-05/0.7061, allocations: 16.14 kB / 0.863 GB, free: 8.223 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.75e-06/0.7061, allocations: 3.281 kB / 0.863 GB, free: 8.223 MB / 0.5919 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.0001421/0.7062, allocations: 206.8 kB / 0.8632 GB, free: 8.02 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.65e-05/0.7063, allocations: 126.9 kB / 0.8633 GB, free: 7.898 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.683e-05/0.7064, allocations: 123.2 kB / 0.8634 GB, free: 7.781 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.777e-05/0.7065, allocations: 180.3 kB / 0.8636 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.521e-05/0.7066, allocations: 182.7 kB / 0.8638 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.434e-05/0.7067, allocations: 180.3 kB / 0.864 GB, free: 7.23 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003234/0.707, allocations: 452.9 kB / 0.8644 GB, free: 6.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.354e-05/0.707, allocations: 103.9 kB / 0.8645 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.203e-05/0.7071, allocations: 108.9 kB / 0.8646 GB, free: 6.531 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.435e-05/0.7072, allocations: 184.2 kB / 0.8648 GB, free: 6.344 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.762e-05/0.7073, allocations: 178.4 kB / 0.8649 GB, free: 6.164 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.951e-05/0.7073, allocations: 188.2 kB / 0.8651 GB, free: 5.973 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.029e-05/0.7074, allocations: 178.9 kB / 0.8653 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001664/0.7076, allocations: 318 kB / 0.8656 GB, free: 5.469 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/0.7077, allocations: 198.9 kB / 0.8658 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.7078, allocations: 184.2 kB / 0.866 GB, free: 5.066 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.708, allocations: 111.8 kB / 0.8661 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.712e-05/0.7081, allocations: 188.2 kB / 0.8662 GB, free: 4.762 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.253e-05/0.7081, allocations: 103.4 kB / 0.8663 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000178/0.7083, allocations: 181.2 kB / 0.8665 GB, free: 4.531 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7083, allocations: 0 / 0.8665 GB, free: 4.531 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002454/0.7086, allocations: 24 kB / 0.8665 GB, free: 4.527 MB / 0.5919 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.0001397/0.7087, allocations: 173.8 kB / 0.8667 GB, free: 4.359 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 9.628e-05/0.7088, allocations: 23.98 kB / 0.8667 GB, free: 4.348 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.7088, allocations: 0 / 0.8667 GB, free: 4.348 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.193e-06/0.7088, allocations: 6.844 kB / 0.8667 GB, free: 4.344 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006979/0.7095, allocations: 0.577 MB / 0.8673 GB, free: 3.793 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004965/0.71, allocations: 356.6 kB / 0.8676 GB, free: 3.488 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/0.7104, allocations: 0.7237 MB / 0.8683 GB, free: 2.766 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.32e-05/0.7105, allocations: 18.11 kB / 0.8684 GB, free: 2.762 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.037e-05/0.7105, allocations: 15.41 kB / 0.8684 GB, free: 2.754 MB / 0.5919 GB Notification: Performance of SimCode: time 2.81e-07/0.7105, allocations: 0 / 0.8684 GB, free: 2.754 MB / 0.5919 GB Notification: Performance of Templates: time 0.004791/0.7153, allocations: 1.857 MB / 0.8702 GB, free: 1.848 MB / 0.5919 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)