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.001108/0.001108, allocations: 105.5 kB / 15.98 MB, free: 6.352 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.001157/0.001157, allocations: 191 kB / 16.91 MB, free: 6.195 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.329/1.329, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7444/0.7444, allocations: 122.9 MB / 413.6 MB, free: 20 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001333, allocations: 63.91 kB / 0.4906 GB, free: 7.758 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4344/0.4357, allocations: 77.93 MB / 0.5667 GB, free: 31.92 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.VectorFunctions): time 0.003483/0.4392, allocations: 1.644 MB / 0.5683 GB, free: 30.78 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00115/0.4404, allocations: 0.4964 MB / 0.5688 GB, free: 30.43 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.527e-05/0.4405, allocations: 1.094 kB / 0.5688 GB, free: 30.43 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000163/0.4407, allocations: 11.75 kB / 0.5688 GB, free: 30.43 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.316e-05/0.4408, allocations: 7.391 kB / 0.5688 GB, free: 30.42 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003304/0.4411, allocations: 43.48 kB / 0.5689 GB, free: 30.39 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001713/0.4413, allocations: 88.66 kB / 0.569 GB, free: 30.35 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002178/0.4415, allocations: 41.83 kB / 0.569 GB, free: 30.34 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.4416, allocations: 36.09 kB / 0.569 GB, free: 30.32 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.4417, allocations: 45.05 kB / 0.5691 GB, free: 30.3 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.374e-05/0.4418, allocations: 5.531 kB / 0.5691 GB, free: 30.3 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.862e-05/0.4419, allocations: 12.36 kB / 0.5691 GB, free: 30.3 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.437e-05/0.4419, allocations: 21.83 kB / 0.5691 GB, free: 30.29 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.825e-05/0.442, allocations: 41.08 kB / 0.5692 GB, free: 30.26 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002078/0.4422, allocations: 85 kB / 0.5692 GB, free: 30.22 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.4422, allocations: 0.5 kB / 0.5692 GB, free: 30.22 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4422, allocations: 1.062 kB / 0.5692 GB, free: 30.22 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.696e-05/0.4423, allocations: 1.094 kB / 0.5692 GB, free: 30.22 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.0006096/0.4429, allocations: 408.1 kB / 0.5696 GB, free: 29.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.4429, allocations: 11.22 kB / 0.5696 GB, free: 29.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.749e-05/0.443, allocations: 10.14 kB / 0.5696 GB, free: 29.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.4431, allocations: 194.8 kB / 0.5698 GB, free: 29.61 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.4431, allocations: 2.562 kB / 0.5698 GB, free: 29.61 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.714e-05/0.4432, allocations: 8.812 kB / 0.5698 GB, free: 29.61 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002539/0.4434, allocations: 110.8 kB / 0.5699 GB, free: 29.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.4434, allocations: 0 / 0.5699 GB, free: 29.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.4435, allocations: 5.219 kB / 0.57 GB, free: 29.55 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.4435, allocations: 1.188 kB / 0.57 GB, free: 29.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002336/0.4437, allocations: 101.4 kB / 0.5701 GB, free: 29.53 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005403/0.4443, allocations: 382 kB / 0.5704 GB, free: 29.21 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/0.4444, allocations: 66.12 kB / 0.5705 GB, free: 29.17 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.4445, allocations: 46.72 kB / 0.5705 GB, free: 29.16 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.674e-05/0.4446, allocations: 3.516 kB / 0.5705 GB, free: 29.16 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.388e-05/0.4446, allocations: 36.03 kB / 0.5706 GB, free: 29.11 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.4446, allocations: 1.688 kB / 0.5706 GB, free: 29.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004814/0.4451, allocations: 163.2 kB / 0.5707 GB, free: 29.05 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.4451, allocations: 53.78 kB / 0.5708 GB, free: 28.99 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.4453, allocations: 138.1 kB / 0.5709 GB, free: 28.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.4453, allocations: 30.69 kB / 0.5709 GB, free: 28.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.95e-05/0.4453, allocations: 105.7 kB / 0.571 GB, free: 28.74 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.186e-05/0.4454, allocations: 24.16 kB / 0.5711 GB, free: 28.72 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.534e-05/0.4454, allocations: 20.75 kB / 0.5711 GB, free: 28.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.368e-05/0.4455, allocations: 321.3 kB / 0.5714 GB, free: 28.39 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.4456, allocations: 38.38 kB / 0.5714 GB, free: 28.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.4458, allocations: 39.73 kB / 0.5715 GB, free: 28.37 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002339/0.446, allocations: 88.67 kB / 0.5715 GB, free: 28.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.446, allocations: 5.281 kB / 0.5715 GB, free: 28.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002955/0.4463, allocations: 128.3 kB / 0.5717 GB, free: 28.28 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.4463, allocations: 5.656 kB / 0.5717 GB, free: 28.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/0.4464, allocations: 1.375 kB / 0.5717 GB, free: 28.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/0.4464, allocations: 1.766 kB / 0.5717 GB, free: 28.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.4465, allocations: 25.47 kB / 0.5717 GB, free: 28.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.4466, allocations: 1.328 kB / 0.5717 GB, free: 28.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.419e-05/0.4466, allocations: 8.656 kB / 0.5717 GB, free: 28.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.792e-05/0.4467, allocations: 3.719 kB / 0.5717 GB, free: 28.27 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 8.881e-05/0.4468, allocations: 118 kB / 0.5718 GB, free: 28.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.159e-05/0.4468, allocations: 8.969 kB / 0.5718 GB, free: 28.15 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003448/0.4472, allocations: 146.4 kB / 0.572 GB, free: 28.09 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.4472, allocations: 9.594 kB / 0.572 GB, free: 28.08 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.85e-06/0.4472, allocations: 1.953 kB / 0.572 GB, free: 28.08 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.4472, allocations: 0.5312 kB / 0.572 GB, free: 28.08 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001741/0.4474, allocations: 201.5 kB / 0.5722 GB, free: 27.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4474, allocations: 0 / 0.5722 GB, free: 27.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/0.4475, allocations: 23.22 kB / 0.5722 GB, free: 27.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.4475, allocations: 0 / 0.5722 GB, free: 27.87 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.4475, allocations: 2.391 kB / 0.5722 GB, free: 27.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.696e-06/0.4475, allocations: 5.906 kB / 0.5722 GB, free: 27.87 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4475, allocations: 0.5312 kB / 0.5722 GB, free: 27.87 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002862/0.4478, allocations: 218.8 kB / 0.5724 GB, free: 27.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.444e-05/0.4479, allocations: 83.02 kB / 0.5725 GB, free: 27.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.4479, allocations: 6.359 kB / 0.5725 GB, free: 27.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.448, allocations: 11.88 kB / 0.5725 GB, free: 27.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.648e-05/0.4481, allocations: 13.64 kB / 0.5725 GB, free: 27.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.4481, allocations: 4.297 kB / 0.5725 GB, free: 27.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.589e-05/0.4481, allocations: 105.8 kB / 0.5726 GB, free: 27.52 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4481, allocations: 1.781 kB / 0.5726 GB, free: 27.52 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002415/0.4484, allocations: 21.38 kB / 0.5727 GB, free: 27.51 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.0001284/0.4485, allocations: 105.5 kB / 0.5728 GB, free: 27.42 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003049/0.4488, allocations: 96.94 kB / 0.5728 GB, free: 27.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.4489, allocations: 1.125 kB / 0.5728 GB, free: 27.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.449, allocations: 57.94 kB / 0.5729 GB, free: 27.39 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/0.4492, allocations: 13.23 kB / 0.5729 GB, free: 27.38 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004536/0.4497, allocations: 237 kB / 0.5731 GB, free: 27.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001376/0.4498, allocations: 0.7003 MB / 0.5738 GB, free: 26.51 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001267/0.45, allocations: 15.94 kB / 0.5738 GB, free: 26.51 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.307e-05/0.45, allocations: 12.34 kB / 0.5739 GB, free: 26.5 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.45, allocations: 0 / 0.5739 GB, free: 26.5 MB / 446.1 MB Notification: Performance of Templates: time 0.003075/0.4531, allocations: 0.644 MB / 0.5745 GB, free: 26.45 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)