Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Utilities.Math.Examples.VectorFunctions.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Examples.VectorFunctions") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002541/0.002545, allocations: 355 kB / 15.94 MB, free: 6.211 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.685/1.685, allocations: 165.8 MB / 182.5 MB, free: 5.395 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.815/3.815, allocations: 410.7 MB / 0.5995 GB, free: 15.16 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001749/0.001749, allocations: 201.5 kB / 0.6662 GB, free: 6.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004673/0.0004675, allocations: 16 kB / 0.7423 GB, free: 8.969 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3324, allocations: 67.44 MB / 0.8081 GB, free: 28.67 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.VectorFunctions): time 0.001466/0.3339, allocations: 1.278 MB / 0.8094 GB, free: 27.38 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007888/0.3347, allocations: 0.5166 MB / 0.8099 GB, free: 26.86 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.563e-05/0.3348, allocations: 3.938 kB / 0.8099 GB, free: 26.86 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 7.428e-05/0.3349, allocations: 7.938 kB / 0.8099 GB, free: 26.85 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 3.595e-05/0.335, allocations: 19.84 kB / 0.8099 GB, free: 26.83 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001848/0.3352, allocations: 23.97 kB / 0.81 GB, free: 26.8 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 9.227e-05/0.3353, allocations: 75.7 kB / 0.81 GB, free: 26.73 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.3354, allocations: 32.22 kB / 0.8101 GB, free: 26.7 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.475e-05/0.3355, allocations: 23.86 kB / 0.8101 GB, free: 26.68 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.784e-05/0.3356, allocations: 35.83 kB / 0.8101 GB, free: 26.64 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.3356, allocations: 4 kB / 0.8101 GB, free: 26.64 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.344e-05/0.3357, allocations: 7.938 kB / 0.8101 GB, free: 26.63 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.095e-05/0.3357, allocations: 15.92 kB / 0.8101 GB, free: 26.61 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.477e-05/0.3358, allocations: 37.7 kB / 0.8102 GB, free: 26.57 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001/0.3359, allocations: 54 kB / 0.8102 GB, free: 26.52 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.625e-06/0.3359, allocations: 0 / 0.8102 GB, free: 26.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.3359, allocations: 4 kB / 0.8102 GB, free: 26.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.219e-06/0.3359, allocations: 0 / 0.8102 GB, free: 26.52 MB / 378.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.0004639/0.3364, allocations: 398.9 kB / 0.8106 GB, free: 26.08 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.3364, allocations: 8.031 kB / 0.8106 GB, free: 26.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.697e-05/0.3365, allocations: 7.906 kB / 0.8106 GB, free: 26.06 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.3366, allocations: 190.9 kB / 0.8108 GB, free: 25.84 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.3367, allocations: 4 kB / 0.8108 GB, free: 25.83 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.3367, allocations: 8 kB / 0.8108 GB, free: 25.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002811/0.337, allocations: 112.3 kB / 0.8109 GB, free: 25.71 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.337, allocations: 0 / 0.8109 GB, free: 25.71 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.337, allocations: 4 kB / 0.8109 GB, free: 25.71 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.266e-06/0.3371, allocations: 7.984 kB / 0.8109 GB, free: 25.7 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002972/0.3374, allocations: 111.8 kB / 0.811 GB, free: 25.59 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006215/0.338, allocations: 380.7 kB / 0.8114 GB, free: 25.17 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001767/0.3382, allocations: 70.42 kB / 0.8115 GB, free: 25.09 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001543/0.3384, allocations: 60.95 kB / 0.8115 GB, free: 25.03 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.737e-05/0.3384, allocations: 3.984 kB / 0.8115 GB, free: 25.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.715e-05/0.3385, allocations: 34.56 kB / 0.8116 GB, free: 24.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.555e-06/0.3385, allocations: 0 / 0.8116 GB, free: 24.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005774/0.3391, allocations: 189.5 kB / 0.8117 GB, free: 24.79 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.238e-05/0.3391, allocations: 55.41 kB / 0.8118 GB, free: 24.72 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.863e-05/0.3392, allocations: 128.7 kB / 0.8119 GB, free: 24.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.3392, allocations: 29.7 kB / 0.812 GB, free: 24.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.342e-05/0.3393, allocations: 108.3 kB / 0.8121 GB, free: 24.45 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.884e-05/0.3394, allocations: 31.58 kB / 0.8121 GB, free: 24.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.851e-06/0.3394, allocations: 0 / 0.8121 GB, free: 24.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.3396, allocations: 318.8 kB / 0.8124 GB, free: 24.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001676/0.3397, allocations: 43.97 kB / 0.8124 GB, free: 24.05 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001541/0.3399, allocations: 47.97 kB / 0.8125 GB, free: 24 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/0.3401, allocations: 47.97 kB / 0.8125 GB, free: 23.96 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.711e-06/0.3401, allocations: 0 / 0.8125 GB, free: 23.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004152/0.3405, allocations: 137.5 kB / 0.8127 GB, free: 23.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.3406, allocations: 8 kB / 0.8127 GB, free: 23.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.251e-06/0.3406, allocations: 0 / 0.8127 GB, free: 23.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.3406, allocations: 3.938 kB / 0.8127 GB, free: 23.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001923/0.3408, allocations: 19.98 kB / 0.8127 GB, free: 23.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.93e-06/0.3408, allocations: 4 kB / 0.8127 GB, free: 23.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000104/0.341, allocations: 15.98 kB / 0.8127 GB, free: 23.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.701e-05/0.341, allocations: 4 kB / 0.8127 GB, free: 23.76 MB / 378.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 8.523e-05/0.3411, allocations: 125.3 kB / 0.8128 GB, free: 23.63 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.265e-05/0.3411, allocations: 7.906 kB / 0.8128 GB, free: 23.62 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004223/0.3416, allocations: 162.2 kB / 0.813 GB, free: 23.46 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.814e-06/0.3416, allocations: 4 kB / 0.813 GB, free: 23.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3416, allocations: 0 / 0.813 GB, free: 23.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.871e-06/0.3416, allocations: 0 / 0.813 GB, free: 23.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002081/0.3418, allocations: 209.5 kB / 0.8132 GB, free: 23.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.346e-06/0.3419, allocations: 0 / 0.8132 GB, free: 23.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/0.342, allocations: 23.98 kB / 0.8132 GB, free: 23.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.081e-06/0.342, allocations: 0 / 0.8132 GB, free: 23.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.3421, allocations: 0.5 kB / 0.8132 GB, free: 23.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.671e-06/0.3421, allocations: 3.938 kB / 0.8132 GB, free: 23.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.159e-06/0.3421, allocations: 4 kB / 0.8132 GB, free: 23.17 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003845/0.3425, allocations: 243.3 kB / 0.8135 GB, free: 22.92 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.568e-05/0.3425, allocations: 81.02 kB / 0.8135 GB, free: 22.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.491e-05/0.3426, allocations: 3.984 kB / 0.8135 GB, free: 22.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.3427, allocations: 11.94 kB / 0.8135 GB, free: 22.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.376e-05/0.3428, allocations: 11.98 kB / 0.8136 GB, free: 22.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.3428, allocations: 8 kB / 0.8136 GB, free: 22.79 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.719e-05/0.3429, allocations: 102.7 kB / 0.8137 GB, free: 22.69 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.6e-07/0.3429, allocations: 0 / 0.8137 GB, free: 22.69 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003423/0.3432, allocations: 23.94 kB / 0.8137 GB, free: 22.66 MB / 378.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.0001288/0.3434, allocations: 103.2 kB / 0.8138 GB, free: 22.55 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003572/0.3438, allocations: 111.9 kB / 0.8139 GB, free: 22.45 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.828e-06/0.3438, allocations: 0 / 0.8139 GB, free: 22.45 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001611/0.3439, allocations: 55.91 kB / 0.8139 GB, free: 22.39 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002889/0.3442, allocations: 19.88 kB / 0.814 GB, free: 22.37 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004573/0.3447, allocations: 237.2 kB / 0.8142 GB, free: 22.12 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001422/0.3449, allocations: 0.7082 MB / 0.8149 GB, free: 21.38 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001105/0.345, allocations: 11.98 kB / 0.8149 GB, free: 21.37 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.778e-05/0.3451, allocations: 15.42 kB / 0.8149 GB, free: 21.36 MB / 378.7 MB Notification: Performance of SimCode: time 1.748e-06/0.3451, allocations: 0 / 0.8149 GB, free: 21.36 MB / 378.7 MB Notification: Performance of Templates: time 0.003196/0.3483, allocations: 0.5968 MB / 0.8155 GB, free: 20.76 MB / 378.7 MB