Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.conf.json 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/IBPSA 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions") translateModel(IBPSA.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009691/0.0009731, allocations: 176.7 kB / 16.76 MB, free: 4.926 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4968/0.4968, allocations: 86.27 MB / 103.8 MB, free: 14.54 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 223.3 MB / 348.4 MB, free: 5.004 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007663/0.0007662, allocations: 95.3 kB / 420.2 MB, free: 9.648 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000551/0.0005511, allocations: 12 kB / 0.4901 GB, free: 8.008 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3483, allocations: 71.01 MB / 0.5594 GB, free: 43.88 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1266/0.4749, allocations: 100.9 MB / 0.658 GB, free: 8.609 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/0.4753, allocations: 80.7 kB / 0.6581 GB, free: 8.531 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005475/0.4808, allocations: 1.752 MB / 0.6598 GB, free: 6.777 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.4808, allocations: 0 / 0.6598 GB, free: 6.777 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.4808, allocations: 0 / 0.6598 GB, free: 6.777 MB / 474.7 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.000496/0.4813, allocations: 395.7 kB / 0.6601 GB, free: 6.34 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.4814, allocations: 8.031 kB / 0.6602 GB, free: 6.332 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.162e-05/0.4815, allocations: 12.84 kB / 0.6602 GB, free: 6.32 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002216/0.4817, allocations: 208 kB / 0.6604 GB, free: 6.078 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.4817, allocations: 12.38 kB / 0.6604 GB, free: 6.066 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.4817, allocations: 8.312 kB / 0.6604 GB, free: 6.059 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002695/0.482, allocations: 110.2 kB / 0.6605 GB, free: 5.945 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.482, allocations: 4.188 kB / 0.6605 GB, free: 5.941 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.4821, allocations: 7.938 kB / 0.6605 GB, free: 5.934 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.4821, allocations: 0 / 0.6605 GB, free: 5.934 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002407/0.4823, allocations: 99.92 kB / 0.6606 GB, free: 5.836 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005979/0.4829, allocations: 384.5 kB / 0.661 GB, free: 5.41 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00014/0.4831, allocations: 62.55 kB / 0.661 GB, free: 5.34 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.4832, allocations: 52.95 kB / 0.6611 GB, free: 5.285 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.372e-05/0.4833, allocations: 11.97 kB / 0.6611 GB, free: 5.273 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.4833, allocations: 34.5 kB / 0.6611 GB, free: 5.23 MB / 474.7 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.4833, allocations: 4 kB / 0.6611 GB, free: 5.227 MB / 474.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004539/0.4838, allocations: 177.5 kB / 0.6613 GB, free: 5.047 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/0.4838, allocations: 51.41 kB / 0.6613 GB, free: 4.984 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.4839, allocations: 135.6 kB / 0.6615 GB, free: 4.844 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.4839, allocations: 25.7 kB / 0.6615 GB, free: 4.812 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.066e-05/0.484, allocations: 108 kB / 0.6616 GB, free: 4.703 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.884e-05/0.484, allocations: 27.78 kB / 0.6616 GB, free: 4.676 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-06/0.484, allocations: 0 / 0.6616 GB, free: 4.676 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.55e-05/0.4841, allocations: 314.8 kB / 0.6619 GB, free: 4.359 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.4843, allocations: 47.97 kB / 0.662 GB, free: 4.312 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.481e-05/0.4844, allocations: 39.97 kB / 0.662 GB, free: 4.273 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002137/0.4846, allocations: 104.7 kB / 0.6621 GB, free: 4.168 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4846, allocations: 0 / 0.6621 GB, free: 4.168 MB / 474.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002653/0.4849, allocations: 137.5 kB / 0.6622 GB, free: 4.027 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.4849, allocations: 4 kB / 0.6622 GB, free: 4.023 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.4849, allocations: 0 / 0.6622 GB, free: 4.023 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.4849, allocations: 4 kB / 0.6622 GB, free: 4.02 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.4851, allocations: 19.98 kB / 0.6623 GB, free: 4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.4851, allocations: 3.938 kB / 0.6623 GB, free: 3.996 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.42e-05/0.4852, allocations: 15.98 kB / 0.6623 GB, free: 3.98 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.175e-05/0.4852, allocations: 15.92 kB / 0.6623 GB, free: 3.965 MB / 474.7 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 9.369e-05/0.4853, allocations: 121.8 kB / 0.6624 GB, free: 3.836 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.898e-05/0.4853, allocations: 7.906 kB / 0.6624 GB, free: 3.828 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003446/0.4857, allocations: 158.8 kB / 0.6626 GB, free: 3.664 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.4857, allocations: 0 / 0.6626 GB, free: 3.664 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.4857, allocations: 3.938 kB / 0.6626 GB, free: 3.66 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.4857, allocations: 0 / 0.6626 GB, free: 3.66 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001924/0.4859, allocations: 205.5 kB / 0.6628 GB, free: 3.41 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.4859, allocations: 0 / 0.6628 GB, free: 3.41 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.486, allocations: 19.98 kB / 0.6628 GB, free: 3.391 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.486, allocations: 0 / 0.6628 GB, free: 3.391 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.486, allocations: 11.98 kB / 0.6628 GB, free: 3.379 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.706e-06/0.486, allocations: 3.938 kB / 0.6628 GB, free: 3.375 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.4861, allocations: 3.938 kB / 0.6628 GB, free: 3.371 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002969/0.4864, allocations: 231.4 kB / 0.663 GB, free: 3.129 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.307e-05/0.4864, allocations: 85.02 kB / 0.6631 GB, free: 3.027 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.4864, allocations: 0 / 0.6631 GB, free: 3.027 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.4866, allocations: 12 kB / 0.6631 GB, free: 3.016 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.829e-05/0.4866, allocations: 11.92 kB / 0.6631 GB, free: 3.004 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.4866, allocations: 7.984 kB / 0.6631 GB, free: 2.996 MB / 474.7 MB Notification: Performance of sorting global known variables: time 5.85e-05/0.4867, allocations: 101.3 kB / 0.6632 GB, free: 2.898 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4867, allocations: 0 / 0.6632 GB, free: 2.898 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002313/0.4869, allocations: 19.91 kB / 0.6633 GB, free: 2.879 MB / 474.7 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.0001528/0.4871, allocations: 99.25 kB / 0.6634 GB, free: 2.773 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002696/0.4874, allocations: 115.9 kB / 0.6635 GB, free: 2.66 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.4874, allocations: 4 kB / 0.6635 GB, free: 2.656 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001237/0.4875, allocations: 59.97 kB / 0.6635 GB, free: 2.598 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.4877, allocations: 7.875 kB / 0.6635 GB, free: 2.59 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004657/0.4882, allocations: 251.6 kB / 0.6638 GB, free: 2.316 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.4885, allocations: 0.7043 MB / 0.6645 GB, free: 1.586 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 7.526e-05/0.4886, allocations: 11.98 kB / 0.6645 GB, free: 1.574 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.94e-05/0.4886, allocations: 15.44 kB / 0.6645 GB, free: 1.559 MB / 474.7 MB Notification: Performance of SimCode: time 2.11e-07/0.4886, allocations: 0 / 0.6645 GB, free: 1.559 MB / 474.7 MB Notification: Performance of Templates: time 0.002695/0.4913, allocations: 0.6003 MB / 0.6651 GB, free: 0.9648 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)