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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001192/0.001193, allocations: 102.4 kB / 15.98 MB, free: 6.348 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.00119/0.00119, allocations: 198.9 kB / 16.91 MB, free: 6.188 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.365/1.365, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7513/0.7513, allocations: 122.9 MB / 413.6 MB, free: 88 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 59.91 kB / 0.4906 GB, free: 7.816 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3849/0.3862, allocations: 77.92 MB / 0.5667 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.VectorFunctions): time 0.003181/0.3895, allocations: 1.647 MB / 0.5683 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.3906, allocations: 0.5007 MB / 0.5688 GB, free: 31.15 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.531e-05/0.3906, allocations: 0.5625 kB / 0.5688 GB, free: 31.15 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001282/0.3908, allocations: 7.609 kB / 0.5688 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.472e-05/0.3908, allocations: 11.62 kB / 0.5688 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002706/0.3911, allocations: 39.86 kB / 0.5688 GB, free: 31.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.3913, allocations: 85.8 kB / 0.5689 GB, free: 31.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001709/0.3914, allocations: 38.59 kB / 0.569 GB, free: 31.06 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.3916, allocations: 37.84 kB / 0.569 GB, free: 31.04 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.946e-05/0.3917, allocations: 45.8 kB / 0.569 GB, free: 31.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.345e-05/0.3917, allocations: 6.938 kB / 0.569 GB, free: 31.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.147e-05/0.3918, allocations: 10.19 kB / 0.5691 GB, free: 31.02 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.446e-05/0.3918, allocations: 21.17 kB / 0.5691 GB, free: 31.01 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.699e-05/0.3919, allocations: 41.3 kB / 0.5691 GB, free: 30.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000177/0.3921, allocations: 91.33 kB / 0.5692 GB, free: 30.94 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3921, allocations: 0 / 0.5692 GB, free: 30.94 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.3921, allocations: 1.469 kB / 0.5692 GB, free: 30.94 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.3921, allocations: 1.188 kB / 0.5692 GB, free: 30.94 MB / 446.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.0005217/0.3926, allocations: 406.7 kB / 0.5696 GB, free: 30.54 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.3927, allocations: 10.72 kB / 0.5696 GB, free: 30.54 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.853e-05/0.3927, allocations: 10.56 kB / 0.5696 GB, free: 30.54 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.3929, allocations: 191.2 kB / 0.5698 GB, free: 30.33 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.3929, allocations: 4.031 kB / 0.5698 GB, free: 30.33 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.736e-05/0.393, allocations: 12.91 kB / 0.5698 GB, free: 30.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002783/0.3932, allocations: 106.9 kB / 0.5699 GB, free: 30.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.3933, allocations: 4.5 kB / 0.5699 GB, free: 30.27 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.3933, allocations: 4 kB / 0.5699 GB, free: 30.27 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.3933, allocations: 4.281 kB / 0.5699 GB, free: 30.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000241/0.3935, allocations: 96.11 kB / 0.57 GB, free: 30.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005769/0.3941, allocations: 385 kB / 0.5704 GB, free: 29.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.3943, allocations: 60.53 kB / 0.5704 GB, free: 29.89 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/0.3944, allocations: 47.38 kB / 0.5705 GB, free: 29.88 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.83e-05/0.3945, allocations: 4.25 kB / 0.5705 GB, free: 29.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.3945, allocations: 36.47 kB / 0.5705 GB, free: 29.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.3945, allocations: 0 / 0.5705 GB, free: 29.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005214/0.395, allocations: 169.4 kB / 0.5707 GB, free: 29.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.3951, allocations: 51.41 kB / 0.5707 GB, free: 29.71 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.3952, allocations: 133.7 kB / 0.5709 GB, free: 29.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.3952, allocations: 32.55 kB / 0.5709 GB, free: 29.56 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.297e-05/0.3953, allocations: 103.6 kB / 0.571 GB, free: 29.46 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.291e-05/0.3953, allocations: 23.78 kB / 0.571 GB, free: 29.45 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.748e-05/0.3954, allocations: 22.75 kB / 0.571 GB, free: 29.43 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.833e-05/0.3954, allocations: 320.2 kB / 0.5713 GB, free: 29.11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.3956, allocations: 38.53 kB / 0.5714 GB, free: 29.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.3957, allocations: 49.31 kB / 0.5714 GB, free: 29.09 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002385/0.3959, allocations: 88.16 kB / 0.5715 GB, free: 29.06 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.396, allocations: 2.656 kB / 0.5715 GB, free: 29.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002901/0.3963, allocations: 128.3 kB / 0.5716 GB, free: 29 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.3963, allocations: 5 kB / 0.5716 GB, free: 29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.3963, allocations: 0.6094 kB / 0.5716 GB, free: 29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.3963, allocations: 1.312 kB / 0.5716 GB, free: 29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.3965, allocations: 21.73 kB / 0.5717 GB, free: 29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.3965, allocations: 2.281 kB / 0.5717 GB, free: 29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.335e-05/0.3966, allocations: 7.109 kB / 0.5717 GB, free: 29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.439e-05/0.3966, allocations: 4.984 kB / 0.5717 GB, free: 29 MB / 446.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.551e-05/0.3967, allocations: 118 kB / 0.5718 GB, free: 28.88 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.03e-05/0.3967, allocations: 8.062 kB / 0.5718 GB, free: 28.88 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003533/0.3971, allocations: 147.3 kB / 0.5719 GB, free: 28.81 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.3971, allocations: 9.297 kB / 0.5719 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.3971, allocations: 0 / 0.5719 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.3971, allocations: 3.234 kB / 0.5719 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001986/0.3973, allocations: 198.6 kB / 0.5721 GB, free: 28.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3973, allocations: 1.5 kB / 0.5721 GB, free: 28.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.3974, allocations: 23.33 kB / 0.5722 GB, free: 28.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.3975, allocations: 1.281 kB / 0.5722 GB, free: 28.59 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.3975, allocations: 9.203 kB / 0.5722 GB, free: 28.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.3975, allocations: 5.062 kB / 0.5722 GB, free: 28.58 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.3975, allocations: 1.781 kB / 0.5722 GB, free: 28.58 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002916/0.3978, allocations: 222 kB / 0.5724 GB, free: 28.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.139e-05/0.3978, allocations: 83.58 kB / 0.5725 GB, free: 28.33 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.3979, allocations: 6.109 kB / 0.5725 GB, free: 28.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.398, allocations: 11.97 kB / 0.5725 GB, free: 28.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.174e-05/0.398, allocations: 5.828 kB / 0.5725 GB, free: 28.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.3981, allocations: 4.125 kB / 0.5725 GB, free: 28.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.124e-05/0.3981, allocations: 102.6 kB / 0.5726 GB, free: 28.24 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3981, allocations: 1 kB / 0.5726 GB, free: 28.24 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002457/0.3984, allocations: 20.91 kB / 0.5726 GB, free: 28.23 MB / 446.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 (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.0001418/0.3985, allocations: 106.5 kB / 0.5727 GB, free: 28.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003134/0.3989, allocations: 102.6 kB / 0.5728 GB, free: 28.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3989, allocations: 3.938 kB / 0.5728 GB, free: 28.11 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.399, allocations: 54.23 kB / 0.5729 GB, free: 28.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.3992, allocations: 8.75 kB / 0.5729 GB, free: 28.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004852/0.3997, allocations: 244.7 kB / 0.5731 GB, free: 27.92 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001647/0.3999, allocations: 0.6979 MB / 0.5738 GB, free: 27.22 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001424/0.4001, allocations: 15.52 kB / 0.5738 GB, free: 27.22 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.35e-05/0.4001, allocations: 11.97 kB / 0.5738 GB, free: 27.21 MB / 446.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4001, allocations: 0.6562 kB / 0.5738 GB, free: 27.21 MB / 446.1 MB Notification: Performance of Templates: time 0.003208/0.4033, allocations: 0.6443 MB / 0.5744 GB, free: 27.16 MB / 446.1 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)