Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions") translateModel(BuildingSystems.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7843/0.7843, allocations: 143.4 MB / 159.2 MB, free: 4.91 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 202 kB / 191.9 MB, free: 5.707 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 222.9 MB / 447.3 MB, free: 5.879 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 103.2 kB / 0.517 GB, free: 3.73 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001927/0.001927, allocations: 289.6 kB / 0.5973 GB, free: 49.37 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 88.23 kB / 0.6885 GB, free: 3.844 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.371/0.3724, allocations: 81.29 MB / 0.7679 GB, free: 27.66 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.VectorFunctions): time 0.002369/0.3748, allocations: 1.672 MB / 0.7696 GB, free: 25.98 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007142/0.3756, allocations: 0.491 MB / 0.77 GB, free: 25.49 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.673e-05/0.3756, allocations: 4 kB / 0.77 GB, free: 25.48 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001256/0.3758, allocations: 7.922 kB / 0.7701 GB, free: 25.48 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 3.205e-05/0.3758, allocations: 7.875 kB / 0.7701 GB, free: 25.47 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002084/0.376, allocations: 35.95 kB / 0.7701 GB, free: 25.43 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.3761, allocations: 83.72 kB / 0.7702 GB, free: 25.35 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/0.3763, allocations: 50.8 kB / 0.7702 GB, free: 25.3 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.502e-05/0.3764, allocations: 27.92 kB / 0.7703 GB, free: 25.27 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.753e-05/0.3765, allocations: 39.84 kB / 0.7703 GB, free: 25.23 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.3765, allocations: 7.938 kB / 0.7703 GB, free: 25.23 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.404e-05/0.3766, allocations: 8 kB / 0.7703 GB, free: 25.22 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 4.21e-05/0.3766, allocations: 19.97 kB / 0.7703 GB, free: 25.2 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 4.651e-05/0.3767, allocations: 35.73 kB / 0.7704 GB, free: 25.16 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000148/0.3768, allocations: 83.7 kB / 0.7704 GB, free: 25.08 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3768, allocations: 0 / 0.7704 GB, free: 25.08 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.3769, allocations: 4 kB / 0.7704 GB, free: 25.08 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.3769, allocations: 0 / 0.7704 GB, free: 25.08 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000482/0.3773, allocations: 399.2 kB / 0.7708 GB, free: 24.64 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.3774, allocations: 8.031 kB / 0.7708 GB, free: 24.63 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.249e-05/0.3774, allocations: 16.69 kB / 0.7708 GB, free: 24.62 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.3776, allocations: 197.9 kB / 0.771 GB, free: 24.39 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.3776, allocations: 384 / 0.771 GB, free: 24.39 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/0.3776, allocations: 8.375 kB / 0.771 GB, free: 24.38 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000216/0.3778, allocations: 117.9 kB / 0.7712 GB, free: 24.26 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.3779, allocations: 0 / 0.7712 GB, free: 24.26 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.3779, allocations: 4 kB / 0.7712 GB, free: 24.25 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.3779, allocations: 0 / 0.7712 GB, free: 24.25 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001881/0.3781, allocations: 91.94 kB / 0.7712 GB, free: 24.16 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004625/0.3785, allocations: 388.5 kB / 0.7716 GB, free: 23.73 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.3787, allocations: 58.55 kB / 0.7717 GB, free: 23.67 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.561e-05/0.3788, allocations: 48.89 kB / 0.7717 GB, free: 23.62 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.186e-05/0.3788, allocations: 8 kB / 0.7717 GB, free: 23.61 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.278e-05/0.3788, allocations: 34.56 kB / 0.7718 GB, free: 23.57 MB / 458.7 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.3788, allocations: 0 / 0.7718 GB, free: 23.57 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003857/0.3792, allocations: 165.5 kB / 0.7719 GB, free: 23.4 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.155e-05/0.3793, allocations: 51.41 kB / 0.772 GB, free: 23.34 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.591e-05/0.3793, allocations: 143 kB / 0.7721 GB, free: 23.19 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.558e-06/0.3794, allocations: 29.7 kB / 0.7721 GB, free: 23.15 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.414e-05/0.3794, allocations: 104.1 kB / 0.7722 GB, free: 23.05 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.162e-05/0.3794, allocations: 19.75 kB / 0.7722 GB, free: 23.03 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.572e-05/0.3795, allocations: 21.7 kB / 0.7723 GB, free: 23 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.949e-05/0.3795, allocations: 314.8 kB / 0.7726 GB, free: 22.68 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.518e-05/0.3796, allocations: 43.91 kB / 0.7726 GB, free: 22.64 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.432e-05/0.3797, allocations: 43.97 kB / 0.7727 GB, free: 22.6 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001754/0.3799, allocations: 88.8 kB / 0.7727 GB, free: 22.51 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3799, allocations: 384 / 0.7727 GB, free: 22.51 MB / 458.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002183/0.3801, allocations: 129.5 kB / 0.7729 GB, free: 22.38 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.3801, allocations: 4 kB / 0.7729 GB, free: 22.37 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.3802, allocations: 0 / 0.7729 GB, free: 22.37 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.3802, allocations: 7.984 kB / 0.7729 GB, free: 22.36 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.3803, allocations: 23.86 kB / 0.7729 GB, free: 22.34 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.3803, allocations: 4 kB / 0.7729 GB, free: 22.34 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.226e-05/0.3804, allocations: 15.83 kB / 0.7729 GB, free: 22.32 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.038e-05/0.3804, allocations: 4 kB / 0.7729 GB, free: 22.32 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (6): * Single equations (assignments): 6 * 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 6.011e-05/0.3805, allocations: 117.8 kB / 0.773 GB, free: 22.19 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.161e-05/0.3805, allocations: 7.906 kB / 0.773 GB, free: 22.18 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005347/0.3811, allocations: 142.3 kB / 0.7732 GB, free: 22.04 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.874e-06/0.3811, allocations: 7.938 kB / 0.7732 GB, free: 22.03 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.3811, allocations: 0 / 0.7732 GB, free: 22.03 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.3812, allocations: 0 / 0.7732 GB, free: 22.03 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002576/0.3814, allocations: 201.6 kB / 0.7734 GB, free: 21.79 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.3814, allocations: 3.984 kB / 0.7734 GB, free: 21.78 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001563/0.3816, allocations: 19.92 kB / 0.7734 GB, free: 21.76 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/0.3816, allocations: 0 / 0.7734 GB, free: 21.76 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.3816, allocations: 8 kB / 0.7734 GB, free: 21.75 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.3817, allocations: 7.938 kB / 0.7734 GB, free: 21.75 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3817, allocations: 0 / 0.7734 GB, free: 21.75 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000717/0.3824, allocations: 0.8253 MB / 0.7742 GB, free: 20.86 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.062e-05/0.3824, allocations: 89 kB / 0.7743 GB, free: 20.76 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.3825, allocations: 0 / 0.7743 GB, free: 20.76 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001975/0.3827, allocations: 8 kB / 0.7743 GB, free: 20.75 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.277e-05/0.3828, allocations: 4.172 kB / 0.7743 GB, free: 20.75 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.3828, allocations: 12 kB / 0.7743 GB, free: 20.73 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.274e-05/0.3829, allocations: 100.7 kB / 0.7744 GB, free: 20.64 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3829, allocations: 4 kB / 0.7744 GB, free: 20.63 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0005916/0.3835, allocations: 19.94 kB / 0.7744 GB, free: 20.61 MB / 458.7 MB 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 (6): * Single equations (assignments): 6 * 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.0001805/0.3837, allocations: 99.78 kB / 0.7745 GB, free: 20.51 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003632/0.384, allocations: 103.9 kB / 0.7746 GB, free: 20.41 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3841, allocations: 3.938 kB / 0.7746 GB, free: 20.4 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001683/0.3842, allocations: 51.95 kB / 0.7747 GB, free: 20.35 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003616/0.3846, allocations: 7.938 kB / 0.7747 GB, free: 20.34 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006167/0.3852, allocations: 367.7 kB / 0.7751 GB, free: 19.95 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001492/0.3854, allocations: 0.7004 MB / 0.7757 GB, free: 19.22 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001648/0.3856, allocations: 19.97 kB / 0.7758 GB, free: 19.2 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.834e-05/0.3856, allocations: 11.44 kB / 0.7758 GB, free: 19.19 MB / 458.7 MB Notification: Performance of SimCode: time 3.3e-07/0.3856, allocations: 0 / 0.7758 GB, free: 19.19 MB / 458.7 MB Notification: Performance of Templates: time 0.003394/0.3891, allocations: 0.6413 MB / 0.7764 GB, free: 18.55 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)