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.001733/0.001733, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002073/0.002074, allocations: 194.2 kB / 16.25 MB, free: 6.633 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.438/1.438, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002516/0.002516, allocations: 282.8 kB / 290.4 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.078/1.078, allocations: 178.6 MB / 0.507 GB, free: 4.703 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002687/0.002687, allocations: 98.72 kB / 0.6059 GB, free: 25.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1552, allocations: 89.15 MB / 0.693 GB, free: 4.695 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u): time 0.5146/0.6699, allocations: 163.9 MB / 0.853 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006091/0.676, allocations: 5.645 MB / 0.8585 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002082/0.6763, allocations: 10.62 kB / 0.8585 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0003994/0.6767, allocations: 83.77 kB / 0.8586 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0001899/0.6769, allocations: 53.75 kB / 0.8586 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001249/0.677, allocations: 32.97 kB / 0.8587 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0002844/0.6773, allocations: 207.9 kB / 0.8589 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000238/0.6776, allocations: 96.7 kB / 0.859 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002168/0.6778, allocations: 104.2 kB / 0.8591 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001237/0.6779, allocations: 69.45 kB / 0.8591 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.678, allocations: 9.531 kB / 0.8591 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 2.142e-05/0.678, allocations: 10.19 kB / 0.8591 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 5.115e-05/0.678, allocations: 35.52 kB / 0.8592 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 7.637e-05/0.6781, allocations: 68.36 kB / 0.8592 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002009/0.6783, allocations: 161.4 kB / 0.8594 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.6783, allocations: 0 / 0.8594 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6784, allocations: 2.875 kB / 0.8594 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.6784, allocations: 0 / 0.8594 GB, free: 12.15 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.0006392/0.679, allocations: 444.8 kB / 0.8598 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.6791, allocations: 7.531 kB / 0.8598 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.842e-05/0.6791, allocations: 17.47 kB / 0.8598 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003184/0.6794, allocations: 238 kB / 0.8601 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.6795, allocations: 9.922 kB / 0.8601 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/0.6795, allocations: 11.34 kB / 0.8601 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000279/0.6798, allocations: 177 kB / 0.8603 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.6798, allocations: 2.719 kB / 0.8603 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/0.6798, allocations: 7 kB / 0.8603 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.6798, allocations: 2.281 kB / 0.8603 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/0.6799, allocations: 68.62 kB / 0.8603 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001154/0.6811, allocations: 1.156 MB / 0.8615 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 9.854e-05/0.6812, allocations: 169.1 kB / 0.8616 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.256e-05/0.6813, allocations: 81.83 kB / 0.8617 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.442e-05/0.6813, allocations: 79.28 kB / 0.8618 GB, free: 9.766 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.164e-05/0.6814, allocations: 112.3 kB / 0.8619 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 1.683e-06/0.6814, allocations: 0 / 0.8619 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 0.0001024/0.6815, allocations: 44.95 kB / 0.8619 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.6816, allocations: 184.8 kB / 0.8621 GB, free: 9.402 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002776/0.6819, allocations: 253.1 kB / 0.8624 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.6819, allocations: 29.64 kB / 0.8624 GB, free: 9.191 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.682, allocations: 130 kB / 0.8625 GB, free: 9.07 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.056e-06/0.682, allocations: 0 / 0.8625 GB, free: 9.07 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.433e-05/0.6821, allocations: 25.45 kB / 0.8625 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.6822, allocations: 327.2 kB / 0.8628 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.003e-05/0.6823, allocations: 11 kB / 0.8629 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.138e-05/0.6824, allocations: 68.38 kB / 0.8629 GB, free: 8.633 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.866e-05/0.6824, allocations: 54.34 kB / 0.863 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.6824, allocations: 3.938 kB / 0.863 GB, free: 8.57 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000151/0.6826, allocations: 85.84 kB / 0.8631 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.6826, allocations: 4.875 kB / 0.8631 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.6826, allocations: 0 / 0.8631 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.6826, allocations: 2.625 kB / 0.8631 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.321e-05/0.6827, allocations: 19.55 kB / 0.8631 GB, free: 8.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.6827, allocations: 2.344 kB / 0.8631 GB, free: 8.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.988e-05/0.6828, allocations: 14.69 kB / 0.8631 GB, free: 8.492 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.6828, allocations: 2.719 kB / 0.8631 GB, free: 8.492 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.000136/0.683, allocations: 203.2 kB / 0.8633 GB, free: 8.293 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.257e-05/0.6831, allocations: 120.3 kB / 0.8634 GB, free: 8.176 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.656e-05/0.6831, allocations: 125.3 kB / 0.8635 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-05/0.6832, allocations: 180.3 kB / 0.8637 GB, free: 7.875 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.78e-05/0.6833, allocations: 186 kB / 0.8639 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.817e-05/0.6834, allocations: 184.3 kB / 0.8641 GB, free: 7.5 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003047/0.6837, allocations: 449.6 kB / 0.8645 GB, free: 7.023 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.316e-05/0.6838, allocations: 104.9 kB / 0.8646 GB, free: 6.914 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.338e-05/0.6838, allocations: 107.4 kB / 0.8647 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.652e-05/0.6839, allocations: 188.3 kB / 0.8649 GB, free: 6.613 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.448e-05/0.684, allocations: 179.1 kB / 0.865 GB, free: 6.434 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.808e-05/0.6841, allocations: 184.3 kB / 0.8652 GB, free: 6.246 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-05/0.6841, allocations: 182.5 kB / 0.8654 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001643/0.6843, allocations: 324 kB / 0.8657 GB, free: 5.734 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.6844, allocations: 196.8 kB / 0.8659 GB, free: 5.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.565e-05/0.6845, allocations: 182.6 kB / 0.8661 GB, free: 5.336 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.6846, allocations: 107.3 kB / 0.8662 GB, free: 5.227 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.062e-05/0.6847, allocations: 180.3 kB / 0.8663 GB, free: 5.043 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.295e-05/0.6848, allocations: 111 kB / 0.8664 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001635/0.685, allocations: 185.5 kB / 0.8666 GB, free: 4.805 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.21e-07/0.685, allocations: 0 / 0.8666 GB, free: 4.805 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002415/0.6852, allocations: 24.31 kB / 0.8666 GB, free: 4.801 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.0001319/0.6853, allocations: 169.5 kB / 0.8668 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 8.667e-05/0.6854, allocations: 24.39 kB / 0.8668 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6854, allocations: 320 / 0.8668 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.6855, allocations: 4 kB / 0.8668 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006533/0.6861, allocations: 0.5 MB / 0.8673 GB, free: 4.148 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004831/0.6866, allocations: 363.2 kB / 0.8677 GB, free: 3.84 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003391/0.687, allocations: 0.7137 MB / 0.8684 GB, free: 3.125 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.46e-05/0.687, allocations: 21.7 kB / 0.8684 GB, free: 3.117 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.197e-05/0.6871, allocations: 15.31 kB / 0.8684 GB, free: 3.109 MB / 0.5919 GB Notification: Performance of SimCode: time 2.7e-07/0.6871, allocations: 3.938 kB / 0.8684 GB, free: 3.105 MB / 0.5919 GB Notification: Performance of Templates: time 0.005467/0.6926, allocations: 1.932 MB / 0.8703 GB, free: 2.172 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)