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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005232/0.005232, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.00132/0.00132, allocations: 197 kB / 16.67 MB, free: 5.52 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.307/1.307, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002025/0.002025, allocations: 293.8 kB / 290.8 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9281/0.9281, allocations: 169.3 MB / 0.4983 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001741/0.001741, allocations: 99.84 kB / 0.6815 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.436/0.4377, allocations: 86.97 MB / 0.7664 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.VectorFunctions): time 0.002568/0.4403, allocations: 1.591 MB / 0.7679 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008291/0.4412, allocations: 0.5052 MB / 0.7684 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.548e-05/0.4413, allocations: 4 kB / 0.7684 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001087/0.4414, allocations: 11.86 kB / 0.7685 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.333e-05/0.4414, allocations: 11.86 kB / 0.7685 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002381/0.4417, allocations: 39.89 kB / 0.7685 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.4418, allocations: 91.69 kB / 0.7686 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.442, allocations: 39.88 kB / 0.7686 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.23e-05/0.4421, allocations: 39.86 kB / 0.7687 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.888e-05/0.4422, allocations: 39.83 kB / 0.7687 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.18e-05/0.4422, allocations: 4 kB / 0.7687 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.101e-05/0.4423, allocations: 19.98 kB / 0.7687 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.043e-05/0.4423, allocations: 23.86 kB / 0.7688 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.855e-05/0.4424, allocations: 35.73 kB / 0.7688 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001611/0.4425, allocations: 91.64 kB / 0.7689 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.4426, allocations: 0 / 0.7689 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.754e-06/0.4426, allocations: 0 / 0.7689 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.4426, allocations: 0 / 0.7689 GB, free: 1.375 MB / 0.5294 GB 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.0005791/0.4432, allocations: 405.6 kB / 0.7693 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.4432, allocations: 8.031 kB / 0.7693 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.746e-05/0.4432, allocations: 16.84 kB / 0.7693 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.4434, allocations: 184.2 kB / 0.7695 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.4434, allocations: 8.375 kB / 0.7695 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.4434, allocations: 8.312 kB / 0.7695 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000249/0.4437, allocations: 113.9 kB / 0.7696 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.4437, allocations: 3.938 kB / 0.7696 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.4437, allocations: 8 kB / 0.7696 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.4437, allocations: 0 / 0.7696 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002269/0.444, allocations: 99.92 kB / 0.7697 GB, free: 460 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000546/0.4445, allocations: 372.5 kB / 0.77 GB, free: 36 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/0.4447, allocations: 62.59 kB / 0.7701 GB, free: 15.96 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.4448, allocations: 48.91 kB / 0.7702 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.817e-05/0.4449, allocations: 7.984 kB / 0.7702 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.4449, allocations: 38.48 kB / 0.7702 GB, free: 15.86 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.4449, allocations: 0 / 0.7702 GB, free: 15.86 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0004393/0.4453, allocations: 165.5 kB / 0.7704 GB, free: 15.69 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.4454, allocations: 55.41 kB / 0.7704 GB, free: 15.62 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.238e-05/0.4455, allocations: 140.5 kB / 0.7705 GB, free: 15.48 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.4455, allocations: 25.7 kB / 0.7706 GB, free: 15.45 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.071e-05/0.4456, allocations: 108.1 kB / 0.7707 GB, free: 15.34 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3e-05/0.4456, allocations: 23.64 kB / 0.7707 GB, free: 15.32 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.143e-05/0.4457, allocations: 21.7 kB / 0.7707 GB, free: 15.29 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.4458, allocations: 326.8 kB / 0.771 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.4459, allocations: 35.97 kB / 0.7711 GB, free: 14.93 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.997e-05/0.446, allocations: 39.97 kB / 0.7711 GB, free: 14.89 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002114/0.4462, allocations: 92.73 kB / 0.7712 GB, free: 14.79 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4462, allocations: 0 / 0.7712 GB, free: 14.79 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002651/0.4465, allocations: 121.6 kB / 0.7713 GB, free: 14.67 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.4465, allocations: 4 kB / 0.7713 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.4465, allocations: 4 kB / 0.7713 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.4465, allocations: 0 / 0.7713 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.4467, allocations: 19.92 kB / 0.7713 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.4467, allocations: 3.984 kB / 0.7713 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.149e-05/0.4468, allocations: 11.91 kB / 0.7713 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.4468, allocations: 11.94 kB / 0.7714 GB, free: 14.61 MB / 0.545 GB 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 8.875e-05/0.4469, allocations: 124.2 kB / 0.7715 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.88e-05/0.4469, allocations: 7.906 kB / 0.7715 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003322/0.4473, allocations: 142.3 kB / 0.7716 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.4473, allocations: 3.938 kB / 0.7716 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.4473, allocations: 0 / 0.7716 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.4473, allocations: 0 / 0.7716 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001954/0.4475, allocations: 210 kB / 0.7718 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4475, allocations: 4 kB / 0.7718 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.4476, allocations: 19.98 kB / 0.7718 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.4476, allocations: 0 / 0.7718 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.4477, allocations: 3.984 kB / 0.7718 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.4477, allocations: 7.875 kB / 0.7719 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.4477, allocations: 0 / 0.7719 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003022/0.448, allocations: 223.4 kB / 0.7721 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.591e-05/0.448, allocations: 85 kB / 0.7721 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.4481, allocations: 4 kB / 0.7722 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.996e-05/0.4482, allocations: 7.938 kB / 0.7722 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.814e-05/0.4482, allocations: 11.98 kB / 0.7722 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.4482, allocations: 0 / 0.7722 GB, free: 13.68 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.125e-05/0.4483, allocations: 107.2 kB / 0.7723 GB, free: 13.57 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4483, allocations: 0 / 0.7723 GB, free: 13.57 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000266/0.4486, allocations: 19.94 kB / 0.7723 GB, free: 13.55 MB / 0.545 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 (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.000128/0.4487, allocations: 99.25 kB / 0.7724 GB, free: 13.45 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002768/0.449, allocations: 99.88 kB / 0.7725 GB, free: 13.35 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.449, allocations: 0 / 0.7725 GB, free: 13.35 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001263/0.4491, allocations: 51.95 kB / 0.7725 GB, free: 13.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.4494, allocations: 4 kB / 0.7725 GB, free: 13.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000402/0.4498, allocations: 215.1 kB / 0.7727 GB, free: 13.06 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/0.4501, allocations: 0.7002 MB / 0.7734 GB, free: 12.33 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.085e-05/0.4501, allocations: 15.97 kB / 0.7734 GB, free: 12.32 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.317e-05/0.4502, allocations: 15.44 kB / 0.7735 GB, free: 12.3 MB / 0.545 GB Notification: Performance of SimCode: time 4.01e-07/0.4502, allocations: 0 / 0.7735 GB, free: 12.3 MB / 0.545 GB Notification: Performance of Templates: time 0.002936/0.4531, allocations: 0.7251 MB / 0.7742 GB, free: 11.58 MB / 0.545 GB 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)