Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_1.6_Buildings.Utilities.Math.Examples.VectorFunctions") translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001166/0.001166, allocations: 98.69 kB / 15.05 MB, free: 1.105 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.001399/0.001399, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.374/1.374, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5658/0.5658, allocations: 95.59 MB / 366 MB, free: 10.4 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005938/0.000594, allocations: 16 kB / 446.8 MB, free: 9.41 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3141, allocations: 70.34 MB / 0.505 GB, free: 16.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.001336/0.3155, allocations: 1.247 MB / 0.5062 GB, free: 15.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006378/0.3161, allocations: 0.5082 MB / 0.5067 GB, free: 14.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.717e-05/0.3162, allocations: 0 / 0.5067 GB, free: 14.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.136e-05/0.3163, allocations: 15.86 kB / 0.5067 GB, free: 14.71 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.995e-05/0.3163, allocations: 7.984 kB / 0.5067 GB, free: 14.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001876/0.3165, allocations: 31.95 kB / 0.5068 GB, free: 14.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.878e-05/0.3166, allocations: 51.86 kB / 0.5068 GB, free: 14.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.3168, allocations: 32.22 kB / 0.5068 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.961e-05/0.3169, allocations: 27.86 kB / 0.5069 GB, free: 14.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.627e-05/0.3169, allocations: 31.83 kB / 0.5069 GB, free: 14.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.3169, allocations: 8 kB / 0.5069 GB, free: 14.53 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.086e-05/0.317, allocations: 4 kB / 0.5069 GB, free: 14.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.844e-05/0.317, allocations: 11.98 kB / 0.5069 GB, free: 14.51 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.343e-05/0.3171, allocations: 41.58 kB / 0.507 GB, free: 14.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001012/0.3172, allocations: 61.86 kB / 0.507 GB, free: 14.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.3172, allocations: 0 / 0.507 GB, free: 14.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3172, allocations: 0 / 0.507 GB, free: 14.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.147e-06/0.3172, allocations: 0 / 0.507 GB, free: 14.41 MB / 382.1 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.0004213/0.3176, allocations: 387 kB / 0.5074 GB, free: 13.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.3177, allocations: 15.98 kB / 0.5074 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.952e-05/0.3177, allocations: 11.89 kB / 0.5074 GB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.3179, allocations: 190.8 kB / 0.5076 GB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.3179, allocations: 7.953 kB / 0.5076 GB, free: 13.72 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.3179, allocations: 4 kB / 0.5076 GB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002221/0.3181, allocations: 117.6 kB / 0.5077 GB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.3181, allocations: 0 / 0.5077 GB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.3182, allocations: 4 kB / 0.5077 GB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.3182, allocations: 0 / 0.5077 GB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002066/0.3184, allocations: 115.9 kB / 0.5078 GB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004866/0.3189, allocations: 380.6 kB / 0.5082 GB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.319, allocations: 74.48 kB / 0.5083 GB, free: 12.97 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.563e-05/0.3191, allocations: 0 / 0.5083 GB, free: 12.97 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/0.3191, allocations: 42.5 kB / 0.5083 GB, free: 12.92 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.3191, allocations: 0 / 0.5083 GB, free: 12.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.000405/0.3195, allocations: 181.6 kB / 0.5085 GB, free: 12.74 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.225e-05/0.3195, allocations: 55.41 kB / 0.5085 GB, free: 12.67 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.65e-05/0.3196, allocations: 147.9 kB / 0.5087 GB, free: 12.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.3196, allocations: 25.7 kB / 0.5087 GB, free: 12.49 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.808e-05/0.3197, allocations: 108.3 kB / 0.5088 GB, free: 12.38 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.165e-05/0.3197, allocations: 15.75 kB / 0.5088 GB, free: 12.36 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-06/0.3197, allocations: 4 kB / 0.5088 GB, free: 12.36 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.731e-05/0.3198, allocations: 314.8 kB / 0.5091 GB, free: 12.04 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.788e-05/0.3199, allocations: 47.97 kB / 0.5092 GB, free: 12 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.749e-05/0.32, allocations: 47.97 kB / 0.5092 GB, free: 11.95 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.969e-05/0.3201, allocations: 47.97 kB / 0.5093 GB, free: 11.9 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.3201, allocations: 0 / 0.5093 GB, free: 11.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002275/0.3203, allocations: 137.5 kB / 0.5094 GB, free: 11.76 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.3203, allocations: 4 kB / 0.5094 GB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3204, allocations: 3.984 kB / 0.5094 GB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.3204, allocations: 0 / 0.5094 GB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.3205, allocations: 27.92 kB / 0.5094 GB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.3205, allocations: 0 / 0.5094 GB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.746e-05/0.3206, allocations: 19.84 kB / 0.5095 GB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.3206, allocations: 4 kB / 0.5095 GB, free: 11.7 MB / 382.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.021e-05/0.3207, allocations: 117.8 kB / 0.5096 GB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.628e-05/0.3207, allocations: 7.906 kB / 0.5096 GB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002932/0.321, allocations: 154.3 kB / 0.5097 GB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.321, allocations: 4 kB / 0.5097 GB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.321, allocations: 0 / 0.5097 GB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3211, allocations: 0 / 0.5097 GB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.3212, allocations: 209.6 kB / 0.5099 GB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3212, allocations: 4.5 kB / 0.5099 GB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.551e-05/0.3213, allocations: 27.91 kB / 0.51 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.3213, allocations: 0 / 0.51 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.3213, allocations: 0 / 0.51 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.3214, allocations: 4 kB / 0.51 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3214, allocations: 4 kB / 0.51 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002497/0.3216, allocations: 239.3 kB / 0.5102 GB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.169e-05/0.3216, allocations: 84.95 kB / 0.5103 GB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.3217, allocations: 0 / 0.5103 GB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.494e-05/0.3218, allocations: 11.98 kB / 0.5103 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.234e-05/0.3218, allocations: 11.98 kB / 0.5103 GB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.3218, allocations: 7.984 kB / 0.5103 GB, free: 10.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.689e-05/0.3219, allocations: 100.8 kB / 0.5104 GB, free: 10.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.82e-07/0.3219, allocations: 0 / 0.5104 GB, free: 10.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002256/0.3221, allocations: 19.88 kB / 0.5104 GB, free: 10.62 MB / 382.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001072/0.3222, allocations: 103.2 kB / 0.5105 GB, free: 10.51 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000243/0.3225, allocations: 107.9 kB / 0.5106 GB, free: 10.4 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.3225, allocations: 7.938 kB / 0.5106 GB, free: 10.39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.3226, allocations: 59.91 kB / 0.5107 GB, free: 10.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001343/0.3227, allocations: 7.953 kB / 0.5107 GB, free: 10.33 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003474/0.3231, allocations: 237.1 kB / 0.5109 GB, free: 10.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001165/0.3232, allocations: 0.7043 MB / 0.5116 GB, free: 9.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.956e-05/0.3233, allocations: 19.97 kB / 0.5116 GB, free: 9.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.578e-05/0.3233, allocations: 11.44 kB / 0.5116 GB, free: 9.309 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3234, allocations: 0 / 0.5116 GB, free: 9.309 MB / 382.1 MB Notification: Performance of Templates: time 0.002552/0.3259, allocations: 0.595 MB / 0.5122 GB, free: 8.719 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.VectorFunctions.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.VectorFunctions.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) Environment - environmentSimulation: