Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.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 Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Examples.VectorFunctions") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.989/4.989, allocations: 0.5623 GB / 0.5769 GB, free: 3.395 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002375/0.002374, allocations: 356.3 kB / 0.644 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.342/4.342, allocations: 410.7 MB / 1.112 GB, free: 5.957 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001792/0.001791, allocations: 180 kB / 1.225 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004898/0.0004901, allocations: 12 kB / 1.348 GB, free: 8.254 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5928/0.5933, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.00245/0.5958, allocations: 1.285 MB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001372/0.5972, allocations: 0.5244 MB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.819e-05/0.5973, allocations: 0 / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 9.634e-05/0.5975, allocations: 6.062 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.961e-05/0.5975, allocations: 19.84 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002629/0.5978, allocations: 23.92 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001402/0.598, allocations: 77.48 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001776/0.5982, allocations: 30.8 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.5983, allocations: 27.86 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 9.752e-05/0.5985, allocations: 27.91 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.271e-05/0.5985, allocations: 4.781 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.526e-05/0.5986, allocations: 8 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 4.275e-05/0.5987, allocations: 16.72 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.51e-05/0.5987, allocations: 37.64 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.5989, allocations: 54.52 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 7.34e-06/0.5989, allocations: 0.8125 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.151e-06/0.599, allocations: 3.938 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.261e-05/0.599, allocations: 0 / 1.463 GB, free: 282.2 MB / 0.8542 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.0006822/0.5997, allocations: 393.6 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.5998, allocations: 15.62 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.204e-05/0.5998, allocations: 8.531 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.6001, allocations: 198.2 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.6001, allocations: 5.344 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.316e-05/0.6002, allocations: 11.98 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004601/0.6007, allocations: 112.2 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.6007, allocations: 0 / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.333e-05/0.6007, allocations: 9.031 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.779e-06/0.6008, allocations: 0 / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00055/0.6013, allocations: 119.4 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000984/0.6023, allocations: 375.5 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003146/0.6027, allocations: 73.27 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002719/0.603, allocations: 48.95 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.964e-05/0.6031, allocations: 13.31 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.6031, allocations: 42.48 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=6): time 3.733e-06/0.6032, allocations: 0.75 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=6): time 0.001048/0.6042, allocations: 181.4 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/0.6043, allocations: 58.69 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.6045, allocations: 126 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.6045, allocations: 33.7 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.333e-05/0.6046, allocations: 108.2 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.407e-05/0.6047, allocations: 23.64 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.217e-05/0.6047, allocations: 0 / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.849e-05/0.6048, allocations: 318.8 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002775/0.6051, allocations: 45.53 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002634/0.6054, allocations: 45.22 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000276/0.6057, allocations: 49.56 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.382e-06/0.6057, allocations: 2.406 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006724/0.6064, allocations: 141 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.6064, allocations: 7.953 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.6065, allocations: 0.9062 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.6065, allocations: 4 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000302/0.6068, allocations: 24.77 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.353e-06/0.6069, allocations: 2.844 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001738/0.607, allocations: 11.98 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.651e-05/0.6071, allocations: 0 / 1.465 GB, free: 279.5 MB / 0.8542 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 0.000131/0.6073, allocations: 125.5 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.211e-05/0.6074, allocations: 9.062 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004356/0.6078, allocations: 157 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.563e-06/0.6078, allocations: 0.5 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.274e-06/0.6078, allocations: 0 / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.009e-06/0.6079, allocations: 0.5312 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002154/0.6081, allocations: 210.6 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.055e-06/0.6081, allocations: 4 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001469/0.6082, allocations: 25.02 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.143e-06/0.6083, allocations: 0 / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.6083, allocations: 0.6875 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.895e-06/0.6083, allocations: 3.953 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.153e-06/0.6083, allocations: 0.625 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000363/0.6087, allocations: 231 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.814e-05/0.6087, allocations: 85.02 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.6088, allocations: 0.9375 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.6089, allocations: 18.77 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.43e-05/0.609, allocations: 11.94 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.609, allocations: 0 / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.01e-05/0.6091, allocations: 114.9 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.36e-07/0.6091, allocations: 7.875 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003265/0.6094, allocations: 15.94 kB / 1.466 GB, free: 278.4 MB / 0.8542 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.000126/0.6096, allocations: 101 kB / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003386/0.6099, allocations: 110 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.6099, allocations: 1.281 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001523/0.6101, allocations: 62.12 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002868/0.6104, allocations: 4.656 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004679/0.6109, allocations: 240.3 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001507/0.6111, allocations: 0.7082 MB / 1.467 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001164/0.6112, allocations: 15.22 kB / 1.467 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.48e-05/0.6112, allocations: 7.438 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of SimCode: time 1.53e-06/0.6112, allocations: 0 / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.003198/0.6144, allocations: 0.6085 MB / 1.468 GB, free: 276.6 MB / 0.8542 GB