Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.VectorFunctions") translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.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.001322/0.001322, 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.00118/0.00118, allocations: 193 kB / 16.13 MB, free: 6.656 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.4/1.4, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.819/2.819, allocations: 472.6 MB / 0.7447 GB, free: 5.023 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 67 kB / 0.9114 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3623, allocations: 159.9 MB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.003153/0.3655, allocations: 1.656 MB / 1.069 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009448/0.3664, allocations: 0.5065 MB / 1.07 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.656e-05/0.3665, allocations: 0 / 1.07 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001203/0.3666, allocations: 11.92 kB / 1.07 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.957e-05/0.3667, allocations: 11.88 kB / 1.07 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002239/0.3669, allocations: 31.95 kB / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001228/0.367, allocations: 79.72 kB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001614/0.3672, allocations: 40.2 kB / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.951e-05/0.3673, allocations: 31.84 kB / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.529e-05/0.3674, allocations: 35.84 kB / 1.07 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.3674, allocations: 15.94 kB / 1.07 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.672e-05/0.3675, allocations: 8 kB / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.98e-05/0.3676, allocations: 19.92 kB / 1.07 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.545e-05/0.3676, allocations: 43.72 kB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001621/0.3678, allocations: 83.92 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.3678, allocations: 0 / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3678, allocations: 0 / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.3678, allocations: 0 / 1.07 GB, free: 8.359 MB / 0.8262 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.0005925/0.3684, allocations: 395.2 kB / 1.07 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.3685, allocations: 16.03 kB / 1.07 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.39e-05/0.3685, allocations: 16.69 kB / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.3687, allocations: 196.2 kB / 1.071 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.3687, allocations: 4.375 kB / 1.071 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/0.3687, allocations: 4.375 kB / 1.071 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000262/0.369, allocations: 120 kB / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.369, allocations: 0 / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.369, allocations: 0 / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.3691, allocations: 0 / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002312/0.3693, allocations: 99.94 kB / 1.071 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000615/0.3699, allocations: 392.4 kB / 1.071 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.3701, allocations: 58.55 kB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.3702, allocations: 48.95 kB / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.77e-05/0.3702, allocations: 4 kB / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.3703, allocations: 30.56 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.3703, allocations: 0 / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0004544/0.3707, allocations: 173.4 kB / 1.072 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.3708, allocations: 55.39 kB / 1.072 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.3709, allocations: 139 kB / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.3709, allocations: 25.7 kB / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.516e-05/0.371, allocations: 100 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.371, allocations: 15.88 kB / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.331e-05/0.3711, allocations: 29.7 kB / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.3712, allocations: 314.8 kB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.3713, allocations: 39.97 kB / 1.072 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.414e-05/0.3714, allocations: 39.97 kB / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000212/0.3716, allocations: 88.8 kB / 1.072 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3716, allocations: 4 kB / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002596/0.3719, allocations: 129.5 kB / 1.072 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.3719, allocations: 6.188 kB / 1.072 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.3719, allocations: 0 / 1.072 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.3719, allocations: 3.938 kB / 1.072 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.3721, allocations: 19.92 kB / 1.072 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.015e-05/0.3721, allocations: 4.438 kB / 1.072 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.842e-05/0.3722, allocations: 23.83 kB / 1.072 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.269e-05/0.3722, allocations: 4 kB / 1.072 GB, free: 5.594 MB / 0.8262 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 9.898e-05/0.3723, allocations: 113.8 kB / 1.073 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.182e-05/0.3724, allocations: 11.89 kB / 1.073 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003499/0.3727, allocations: 146.3 kB / 1.073 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.3727, allocations: 7.938 kB / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.3727, allocations: 0 / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3728, allocations: 4 kB / 1.073 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002115/0.373, allocations: 201.6 kB / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.373, allocations: 0 / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.3731, allocations: 19.97 kB / 1.073 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3731, allocations: 0 / 1.073 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.3731, allocations: 4 kB / 1.073 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.3731, allocations: 3.938 kB / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3731, allocations: 0 / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003289/0.3735, allocations: 227.3 kB / 1.073 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.23e-05/0.3735, allocations: 85.02 kB / 1.073 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.952e-05/0.3736, allocations: 0 / 1.073 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.3737, allocations: 11.92 kB / 1.073 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.452e-05/0.3737, allocations: 11.98 kB / 1.073 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.3737, allocations: 4 kB / 1.073 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.996e-05/0.3738, allocations: 95.27 kB / 1.073 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3738, allocations: 4 kB / 1.073 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002316/0.374, allocations: 20 kB / 1.073 GB, free: 4.539 MB / 0.8262 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.0001668/0.3742, allocations: 103.2 kB / 1.074 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002771/0.3745, allocations: 99.88 kB / 1.074 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3745, allocations: 0 / 1.074 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.3746, allocations: 51.97 kB / 1.074 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002192/0.3749, allocations: 8 kB / 1.074 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000479/0.3754, allocations: 249.1 kB / 1.074 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.3757, allocations: 0.7082 MB / 1.075 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001414/0.3758, allocations: 15.98 kB / 1.075 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.382e-05/0.3759, allocations: 15.42 kB / 1.075 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.3759, allocations: 0 / 1.075 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of Templates: time 0.003112/0.379, allocations: 0.6284 MB / 1.075 GB, free: 2.613 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)