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.0007265/0.0007265, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004453/0.004453, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.151/1.151, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.316/1.316, allocations: 252 MB / 0.5105 GB, free: 4.645 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.0004461/0.0004461, allocations: 16 kB / 0.6249 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3912/0.3917, allocations: 106.3 MB / 0.7287 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.00157/0.3933, allocations: 1.312 MB / 0.73 GB, free: 9.934 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008661/0.3942, allocations: 0.5469 MB / 0.7305 GB, free: 9.379 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.205e-05/0.3943, allocations: 4 kB / 0.7305 GB, free: 9.375 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.68e-05/0.3944, allocations: 7.938 kB / 0.7305 GB, free: 9.367 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.268e-05/0.3944, allocations: 11.86 kB / 0.7306 GB, free: 9.355 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002129/0.3946, allocations: 35.91 kB / 0.7306 GB, free: 9.32 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001161/0.3948, allocations: 79.77 kB / 0.7307 GB, free: 9.242 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.3949, allocations: 40.16 kB / 0.7307 GB, free: 9.203 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.395, allocations: 31.84 kB / 0.7307 GB, free: 9.172 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.263e-05/0.3951, allocations: 27.84 kB / 0.7308 GB, free: 9.145 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.3951, allocations: 4 kB / 0.7308 GB, free: 9.141 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.196e-05/0.3952, allocations: 4 kB / 0.7308 GB, free: 9.137 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.692e-05/0.3953, allocations: 19.92 kB / 0.7308 GB, free: 9.117 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.641e-05/0.3953, allocations: 65.42 kB / 0.7308 GB, free: 9.047 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001303/0.3955, allocations: 77.67 kB / 0.7309 GB, free: 8.973 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.3955, allocations: 0 / 0.7309 GB, free: 8.973 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3955, allocations: 0 / 0.7309 GB, free: 8.973 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.409e-06/0.3955, allocations: 0 / 0.7309 GB, free: 8.973 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.0004862/0.396, allocations: 391.2 kB / 0.7313 GB, free: 8.543 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.396, allocations: 16.03 kB / 0.7313 GB, free: 8.527 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.807e-05/0.3961, allocations: 16.75 kB / 0.7313 GB, free: 8.512 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.3962, allocations: 188.2 kB / 0.7315 GB, free: 8.289 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.3962, allocations: 4.375 kB / 0.7315 GB, free: 8.285 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.3962, allocations: 8.312 kB / 0.7315 GB, free: 8.277 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00024/0.3965, allocations: 121.8 kB / 0.7316 GB, free: 8.152 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.131e-06/0.3965, allocations: 0 / 0.7316 GB, free: 8.152 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.3965, allocations: 4 kB / 0.7316 GB, free: 8.148 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.3965, allocations: 4 kB / 0.7316 GB, free: 8.145 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002315/0.3968, allocations: 107.9 kB / 0.7317 GB, free: 8.039 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005212/0.3973, allocations: 388.6 kB / 0.7321 GB, free: 7.609 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/0.3975, allocations: 62.55 kB / 0.7322 GB, free: 7.539 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.3976, allocations: 56.95 kB / 0.7322 GB, free: 7.48 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.392e-05/0.3976, allocations: 3.984 kB / 0.7322 GB, free: 7.477 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.3976, allocations: 34.56 kB / 0.7323 GB, free: 7.434 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 2.094e-06/0.3977, allocations: 4 kB / 0.7323 GB, free: 7.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0004469/0.3981, allocations: 185.5 kB / 0.7324 GB, free: 7.242 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.3982, allocations: 55.41 kB / 0.7325 GB, free: 7.176 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.65e-05/0.3983, allocations: 135.5 kB / 0.7326 GB, free: 7.035 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.3983, allocations: 25.7 kB / 0.7327 GB, free: 7.004 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.867e-05/0.3983, allocations: 112 kB / 0.7328 GB, free: 6.891 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.488e-05/0.3984, allocations: 19.73 kB / 0.7328 GB, free: 6.871 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.83e-05/0.3984, allocations: 17.72 kB / 0.7328 GB, free: 6.848 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.657e-05/0.3985, allocations: 318.8 kB / 0.7331 GB, free: 6.527 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/0.3986, allocations: 47.97 kB / 0.7331 GB, free: 6.48 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.3987, allocations: 43.97 kB / 0.7332 GB, free: 6.438 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002167/0.399, allocations: 104.8 kB / 0.7333 GB, free: 6.332 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.399, allocations: 3.938 kB / 0.7333 GB, free: 6.328 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002734/0.3992, allocations: 141.5 kB / 0.7334 GB, free: 6.184 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.3993, allocations: 5.875 kB / 0.7334 GB, free: 6.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.3993, allocations: 0 / 0.7334 GB, free: 6.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.3993, allocations: 0 / 0.7334 GB, free: 6.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.3994, allocations: 23.92 kB / 0.7335 GB, free: 6.156 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/0.3994, allocations: 0 / 0.7335 GB, free: 6.156 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.787e-05/0.3995, allocations: 15.98 kB / 0.7335 GB, free: 6.141 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.3995, allocations: 7.984 kB / 0.7335 GB, free: 6.133 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 7.998e-05/0.3996, allocations: 129.8 kB / 0.7336 GB, free: 5.996 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.736e-05/0.3997, allocations: 7.906 kB / 0.7336 GB, free: 5.988 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003182/0.4, allocations: 150.3 kB / 0.7337 GB, free: 5.836 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.4, allocations: 3.938 kB / 0.7338 GB, free: 5.832 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.4, allocations: 3.938 kB / 0.7338 GB, free: 5.828 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.4, allocations: 0 / 0.7338 GB, free: 5.828 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.4002, allocations: 209.5 kB / 0.734 GB, free: 5.574 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.4002, allocations: 0 / 0.734 GB, free: 5.574 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.606e-05/0.4003, allocations: 20.48 kB / 0.734 GB, free: 5.555 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.4003, allocations: 4 kB / 0.734 GB, free: 5.551 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.4003, allocations: 0 / 0.734 GB, free: 5.551 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.955e-06/0.4004, allocations: 11.94 kB / 0.734 GB, free: 5.539 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.4004, allocations: 3.938 kB / 0.734 GB, free: 5.535 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000291/0.4007, allocations: 231.4 kB / 0.7342 GB, free: 5.293 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.368e-05/0.4007, allocations: 89.02 kB / 0.7343 GB, free: 5.188 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.4007, allocations: 0 / 0.7343 GB, free: 5.188 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.614e-05/0.4008, allocations: 15.92 kB / 0.7343 GB, free: 5.172 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.915e-05/0.4009, allocations: 7.984 kB / 0.7343 GB, free: 5.164 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.4009, allocations: 0 / 0.7343 GB, free: 5.164 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.586e-05/0.4009, allocations: 103.3 kB / 0.7344 GB, free: 5.062 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.81e-07/0.4009, allocations: 0 / 0.7344 GB, free: 5.062 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002228/0.4012, allocations: 23.92 kB / 0.7344 GB, free: 5.039 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.0001154/0.4013, allocations: 103.2 kB / 0.7345 GB, free: 4.93 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002641/0.4016, allocations: 107.9 kB / 0.7346 GB, free: 4.824 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4016, allocations: 4 kB / 0.7347 GB, free: 4.82 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.4017, allocations: 55.97 kB / 0.7347 GB, free: 4.766 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002057/0.4019, allocations: 7.984 kB / 0.7347 GB, free: 4.758 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003832/0.4023, allocations: 255.6 kB / 0.735 GB, free: 4.484 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002149/0.4025, allocations: 0.7109 MB / 0.7356 GB, free: 3.75 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.384e-05/0.4026, allocations: 11.98 kB / 0.7357 GB, free: 3.738 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.904e-05/0.4026, allocations: 15.42 kB / 0.7357 GB, free: 3.723 MB / 0.545 GB Notification: Performance of SimCode: time 4.61e-07/0.4027, allocations: 4 kB / 0.7357 GB, free: 3.719 MB / 0.545 GB Notification: Performance of Templates: time 0.002408/0.4051, allocations: 0.6195 MB / 0.7363 GB, free: 3.105 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: