Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions") translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.00102/0.00102, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001265/0.001265, allocations: 168.7 kB / 15.95 MB, free: 204 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.762/1.762, allocations: 205.4 MB / 222.1 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.595/1.595, allocations: 252 MB / 0.5102 GB, free: 4.809 MB / 414.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: Performance of FrontEnd - loaded program: time 0.00056/0.0005601, allocations: 20 kB / 0.6243 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5246/0.5252, allocations: 106.3 MB / 0.7281 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.001931/0.5272, allocations: 1.281 MB / 0.7294 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009585/0.5282, allocations: 0.5278 MB / 0.7299 GB, free: 9.582 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.054e-05/0.5283, allocations: 3.938 kB / 0.7299 GB, free: 9.578 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001071/0.5284, allocations: 11.86 kB / 0.7299 GB, free: 9.566 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.542e-05/0.5284, allocations: 11.88 kB / 0.7299 GB, free: 9.555 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002339/0.5287, allocations: 31.95 kB / 0.73 GB, free: 9.523 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001185/0.5288, allocations: 71.77 kB / 0.73 GB, free: 9.453 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001736/0.529, allocations: 32.16 kB / 0.7301 GB, free: 9.422 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.697e-05/0.5291, allocations: 27.91 kB / 0.7301 GB, free: 9.395 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.712e-05/0.5292, allocations: 31.84 kB / 0.7301 GB, free: 9.363 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.5292, allocations: 4 kB / 0.7301 GB, free: 9.359 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.173e-05/0.5293, allocations: 4 kB / 0.7301 GB, free: 9.355 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.872e-05/0.5293, allocations: 19.92 kB / 0.7301 GB, free: 9.336 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.46e-05/0.5294, allocations: 37.64 kB / 0.7302 GB, free: 9.293 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001237/0.5295, allocations: 65.8 kB / 0.7302 GB, free: 9.23 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.333e-06/0.5295, allocations: 0 / 0.7302 GB, free: 9.23 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.695e-06/0.5295, allocations: 0 / 0.7302 GB, free: 9.23 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.5295, allocations: 0 / 0.7302 GB, free: 9.23 MB / 0.545 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.0005653/0.5301, allocations: 390.2 kB / 0.7306 GB, free: 8.805 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.5301, allocations: 12.03 kB / 0.7306 GB, free: 8.793 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.337e-05/0.5302, allocations: 15.8 kB / 0.7306 GB, free: 8.777 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001934/0.5304, allocations: 188.8 kB / 0.7308 GB, free: 8.555 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.5304, allocations: 8 kB / 0.7308 GB, free: 8.547 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.5304, allocations: 7.938 kB / 0.7308 GB, free: 8.539 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003146/0.5307, allocations: 117.6 kB / 0.7309 GB, free: 8.418 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.5308, allocations: 4 kB / 0.7309 GB, free: 8.414 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.5308, allocations: 0 / 0.7309 GB, free: 8.414 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.116e-06/0.5308, allocations: 4 kB / 0.731 GB, free: 8.41 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002296/0.531, allocations: 107.9 kB / 0.7311 GB, free: 8.305 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006066/0.5316, allocations: 380.5 kB / 0.7314 GB, free: 7.883 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/0.5318, allocations: 70.55 kB / 0.7315 GB, free: 7.805 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.5319, allocations: 52.95 kB / 0.7315 GB, free: 7.75 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.663e-05/0.532, allocations: 7.953 kB / 0.7315 GB, free: 7.742 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.532, allocations: 34.5 kB / 0.7316 GB, free: 7.699 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 1.623e-06/0.532, allocations: 4 kB / 0.7316 GB, free: 7.695 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0004546/0.5325, allocations: 185.5 kB / 0.7318 GB, free: 7.508 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.5325, allocations: 51.41 kB / 0.7318 GB, free: 7.445 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.5327, allocations: 140.1 kB / 0.7319 GB, free: 7.301 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.5327, allocations: 25.7 kB / 0.732 GB, free: 7.27 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.223e-05/0.5328, allocations: 108.3 kB / 0.7321 GB, free: 7.16 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.858e-05/0.5328, allocations: 15.73 kB / 0.7321 GB, free: 7.145 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.213e-06/0.5328, allocations: 4 kB / 0.7321 GB, free: 7.141 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.5329, allocations: 318.8 kB / 0.7324 GB, free: 6.82 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.5331, allocations: 47.97 kB / 0.7324 GB, free: 6.773 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.529e-05/0.5332, allocations: 47.91 kB / 0.7325 GB, free: 6.727 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001155/0.5333, allocations: 51.97 kB / 0.7325 GB, free: 6.676 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.5333, allocations: 3.938 kB / 0.7325 GB, free: 6.672 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002546/0.5336, allocations: 133.5 kB / 0.7327 GB, free: 6.535 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.5336, allocations: 11.94 kB / 0.7327 GB, free: 6.523 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.5336, allocations: 8 kB / 0.7327 GB, free: 6.516 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.5336, allocations: 3.984 kB / 0.7327 GB, free: 6.512 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.5338, allocations: 20.42 kB / 0.7327 GB, free: 6.492 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.5338, allocations: 0 / 0.7327 GB, free: 6.492 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.899e-05/0.5339, allocations: 15.89 kB / 0.7327 GB, free: 6.477 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.561e-05/0.5339, allocations: 4 kB / 0.7327 GB, free: 6.473 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.66e-05/0.534, allocations: 121.8 kB / 0.7328 GB, free: 6.344 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.246e-05/0.534, allocations: 11.91 kB / 0.7329 GB, free: 6.332 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003248/0.5343, allocations: 158.2 kB / 0.733 GB, free: 6.172 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.5344, allocations: 0 / 0.733 GB, free: 6.172 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.5344, allocations: 4 kB / 0.733 GB, free: 6.168 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.5344, allocations: 0 / 0.733 GB, free: 6.168 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002308/0.5346, allocations: 201.6 kB / 0.7332 GB, free: 5.922 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.5346, allocations: 0 / 0.7332 GB, free: 5.922 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.5347, allocations: 27.97 kB / 0.7332 GB, free: 5.895 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.5347, allocations: 0 / 0.7332 GB, free: 5.895 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.437e-06/0.5348, allocations: 0 / 0.7332 GB, free: 5.895 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.5348, allocations: 3.953 kB / 0.7332 GB, free: 5.891 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.5348, allocations: 0 / 0.7332 GB, free: 5.891 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003099/0.5351, allocations: 235.3 kB / 0.7335 GB, free: 5.645 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.913e-05/0.5351, allocations: 85.02 kB / 0.7335 GB, free: 5.543 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.078e-05/0.5352, allocations: 4 kB / 0.7335 GB, free: 5.539 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.362e-05/0.5353, allocations: 15.98 kB / 0.7336 GB, free: 5.523 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.664e-05/0.5353, allocations: 11.94 kB / 0.7336 GB, free: 5.512 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.5354, allocations: 3.938 kB / 0.7336 GB, free: 5.508 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.888e-05/0.5354, allocations: 103.3 kB / 0.7337 GB, free: 5.406 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5354, allocations: 0 / 0.7337 GB, free: 5.406 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002305/0.5357, allocations: 19.84 kB / 0.7337 GB, free: 5.387 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 (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.000149/0.5358, allocations: 111.2 kB / 0.7338 GB, free: 5.27 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002772/0.5361, allocations: 103.9 kB / 0.7339 GB, free: 5.168 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5361, allocations: 4 kB / 0.7339 GB, free: 5.164 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.5362, allocations: 60.22 kB / 0.734 GB, free: 5.105 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002088/0.5365, allocations: 0 / 0.734 GB, free: 5.105 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004053/0.5369, allocations: 249.2 kB / 0.7342 GB, free: 4.836 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/0.5372, allocations: 0.7004 MB / 0.7349 GB, free: 4.109 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.838e-05/0.5373, allocations: 15.98 kB / 0.7349 GB, free: 4.094 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.187e-05/0.5373, allocations: 23.36 kB / 0.7349 GB, free: 4.07 MB / 0.545 GB Notification: Performance of SimCode: time 3.61e-07/0.5373, allocations: 0 / 0.7349 GB, free: 4.07 MB / 0.545 GB Notification: Performance of Templates: time 0.002643/0.54, allocations: 0.5995 MB / 0.7355 GB, free: 3.473 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) Environment - environmentSimulation: