Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007594/0.0007594, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000978/0.000978, allocations: 177 kB / 23.36 MB, free: 1.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.989/0.989, allocations: 177.2 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001776/0.001776, allocations: 245.7 kB / 260.5 MB, free: 12.69 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.717/0.717, allocations: 138.4 MB / 402.2 MB, free: 0.543 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions") translateModel(BuildingSystems.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 462.3 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.623e-05/2.785e-05, allocations: 4 kB / 462.3 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.VectorFunctions): time 0.003621/0.003649, allocations: 1.657 MB / 464 MB, free: 15.83 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.004739, allocations: 0.5918 MB / 464.6 MB, free: 15.45 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.533e-05/0.004814, allocations: 7.25 kB / 464.6 MB, free: 15.45 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001114/0.004926, allocations: 10.64 kB / 464.6 MB, free: 15.44 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.094e-05/0.004967, allocations: 17.38 kB / 464.6 MB, free: 15.43 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002977/0.005264, allocations: 63.31 kB / 464.7 MB, free: 15.4 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001338/0.005398, allocations: 95.47 kB / 464.8 MB, free: 15.35 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.005504, allocations: 27.84 kB / 464.8 MB, free: 15.34 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.005635, allocations: 61.95 kB / 464.8 MB, free: 15.31 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.601e-05/0.005701, allocations: 32.97 kB / 464.9 MB, free: 15.3 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.005717, allocations: 9.031 kB / 464.9 MB, free: 15.3 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.475e-05/0.005782, allocations: 23.42 kB / 464.9 MB, free: 15.29 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.351e-05/0.005815, allocations: 20.84 kB / 464.9 MB, free: 15.28 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.129e-05/0.005846, allocations: 24.14 kB / 465 MB, free: 15.27 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000126/0.005972, allocations: 74.67 kB / 465 MB, free: 15.24 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.005975, allocations: 0 / 465 MB, free: 15.24 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.005976, allocations: 3.938 kB / 465 MB, free: 15.23 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.00598, allocations: 2.719 kB / 465 MB, free: 15.23 MB / 426.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.0003012/0.006281, allocations: 308.1 kB / 465.3 MB, free: 14.96 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.025e-05/0.006311, allocations: 10.16 kB / 465.3 MB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001489/0.00646, allocations: 39.45 kB / 465.4 MB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.006604, allocations: 145.7 kB / 465.5 MB, free: 14.81 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.905e-06/0.006612, allocations: 4.219 kB / 465.5 MB, free: 14.81 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.006624, allocations: 8.125 kB / 465.5 MB, free: 14.81 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.00675, allocations: 82.78 kB / 465.6 MB, free: 14.75 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.006757, allocations: 3.938 kB / 465.6 MB, free: 14.75 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.006767, allocations: 8.562 kB / 465.6 MB, free: 14.75 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.006772, allocations: 1.25 kB / 465.6 MB, free: 14.75 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.608e-05/0.006808, allocations: 23.98 kB / 465.7 MB, free: 14.74 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002815/0.007089, allocations: 226.3 kB / 465.9 MB, free: 14.56 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.926e-05/0.007139, allocations: 70.52 kB / 465.9 MB, free: 14.49 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.623e-05/0.007165, allocations: 12.97 kB / 466 MB, free: 14.48 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.684e-05/0.007192, allocations: 6.234 kB / 466 MB, free: 14.48 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.007216, allocations: 36.41 kB / 466 MB, free: 14.44 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.007217, allocations: 0 / 466 MB, free: 14.44 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001245/0.007342, allocations: 63.7 kB / 466.1 MB, free: 14.41 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/0.007368, allocations: 53.06 kB / 466.1 MB, free: 14.34 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.313e-05/0.007441, allocations: 138.6 kB / 466.2 MB, free: 14.23 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.007451, allocations: 31.33 kB / 466.3 MB, free: 14.19 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.868e-05/0.00749, allocations: 102.4 kB / 466.4 MB, free: 14.1 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.007511, allocations: 23.94 kB / 466.4 MB, free: 14.08 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-05/0.007541, allocations: 16.89 kB / 466.4 MB, free: 14.06 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.491e-05/0.007616, allocations: 325.6 kB / 466.7 MB, free: 13.74 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.762e-05/0.007633, allocations: 9.594 kB / 466.7 MB, free: 13.74 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.67e-05/0.00765, allocations: 10.67 kB / 466.8 MB, free: 13.73 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.588e-05/0.007696, allocations: 33.53 kB / 466.8 MB, free: 13.72 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.007697, allocations: 0 / 466.8 MB, free: 13.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 6.672e-05/0.007764, allocations: 54.73 kB / 466.8 MB, free: 13.68 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.007775, allocations: 6.969 kB / 466.9 MB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.00778, allocations: 1.953 kB / 466.9 MB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.749e-06/0.00779, allocations: 3.594 kB / 466.9 MB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.022e-05/0.00785, allocations: 13.64 kB / 466.9 MB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.915e-06/0.007853, allocations: 0.9375 kB / 466.9 MB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.78e-05/0.007881, allocations: 21.86 kB / 466.9 MB, free: 13.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.007893, allocations: 2.75 kB / 466.9 MB, free: 13.67 MB / 426.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.615e-05/0.007949, allocations: 116.4 kB / 467 MB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.839e-05/0.007968, allocations: 7.578 kB / 467 MB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001222/0.00809, allocations: 79.98 kB / 467.1 MB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.008093, allocations: 2.594 kB / 467.1 MB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-06/0.008094, allocations: 0 / 467.1 MB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.008098, allocations: 2.547 kB / 467.1 MB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001056/0.008204, allocations: 91.09 kB / 467.2 MB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.008206, allocations: 1.25 kB / 467.2 MB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.134e-05/0.008247, allocations: 14.33 kB / 467.2 MB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.008249, allocations: 2.906 kB / 467.2 MB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.008255, allocations: 1.484 kB / 467.2 MB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.008257, allocations: 2.938 kB / 467.2 MB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.008258, allocations: 0.75 kB / 467.2 MB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001109/0.008369, allocations: 209.5 kB / 467.4 MB, free: 13.22 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.768e-06/0.008379, allocations: 7.266 kB / 467.4 MB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.00839, allocations: 2.344 kB / 467.4 MB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.735e-05/0.008427, allocations: 5.281 kB / 467.4 MB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.281e-05/0.00846, allocations: 9.203 kB / 467.4 MB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-06/0.008469, allocations: 4.641 kB / 467.4 MB, free: 13.21 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.842e-05/0.008497, allocations: 32.44 kB / 467.5 MB, free: 13.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008498, allocations: 0 / 467.5 MB, free: 13.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001354/0.008633, allocations: 25.8 kB / 467.5 MB, free: 13.19 MB / 426.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 (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.0001041/0.008737, allocations: 87.36 kB / 467.6 MB, free: 13.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.811e-05/0.008805, allocations: 30.05 kB / 467.6 MB, free: 13.07 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.008809, allocations: 4 kB / 467.6 MB, free: 13.07 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.625e-05/0.008835, allocations: 24.31 kB / 467.6 MB, free: 13.05 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001075/0.008943, allocations: 5.812 kB / 467.6 MB, free: 13.04 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000449/0.009392, allocations: 209.7 kB / 467.9 MB, free: 12.83 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.319e-05/0.009435, allocations: 65.48 kB / 467.9 MB, free: 12.75 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.107e-05/0.009466, allocations: 8.25 kB / 467.9 MB, free: 12.75 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.513e-05/0.009511, allocations: 56.78 kB / 468 MB, free: 12.7 MB / 426.7 MB Notification: Performance of SimCode: time 6.21e-07/0.009512, allocations: 0.5625 kB / 468 MB, free: 12.7 MB / 426.7 MB Notification: Performance of Templates: time 0.002555/0.01207, allocations: 0.7075 MB / 468.7 MB, free: 12.08 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.577359616756439]