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.001254/0.001254, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001505/0.001505, allocations: 169 kB / 23.02 MB, free: 1.547 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 1.007/1.007, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.001803/0.001803, allocations: 237.8 kB / 260.2 MB, free: 12.82 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.7203/0.7203, allocations: 138.4 MB / 455.2 MB, free: 1.535 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 2.315e-06/2.315e-06, allocations: 0 / 0.5551 GB, free: 0.5117 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.57e-05/2.801e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5078 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.VectorFunctions): time 0.002995/0.003023, allocations: 1.654 MB / 0.5567 GB, free: 14.84 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001262/0.004285, allocations: 0.593 MB / 0.5573 GB, free: 14.24 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.177e-05/0.004357, allocations: 3.938 kB / 0.5573 GB, free: 14.24 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001202/0.004477, allocations: 11.81 kB / 0.5573 GB, free: 14.23 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.497e-05/0.004522, allocations: 15.86 kB / 0.5573 GB, free: 14.21 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003413/0.004863, allocations: 67.78 kB / 0.5574 GB, free: 14.14 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000149/0.005012, allocations: 87.64 kB / 0.5575 GB, free: 14.06 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.005157, allocations: 35.91 kB / 0.5575 GB, free: 14.02 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001679/0.005325, allocations: 51.89 kB / 0.5576 GB, free: 13.97 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.679e-05/0.005401, allocations: 35.89 kB / 0.5576 GB, free: 13.94 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.304e-05/0.005425, allocations: 8 kB / 0.5576 GB, free: 13.93 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.858e-05/0.005503, allocations: 19.98 kB / 0.5576 GB, free: 13.91 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.112e-05/0.005544, allocations: 19.91 kB / 0.5577 GB, free: 13.89 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.28e-05/0.005587, allocations: 27.92 kB / 0.5577 GB, free: 13.86 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001709/0.005758, allocations: 83.59 kB / 0.5578 GB, free: 13.78 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.005761, allocations: 0 / 0.5578 GB, free: 13.78 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.005762, allocations: 0 / 0.5578 GB, free: 13.78 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.005767, allocations: 0 / 0.5578 GB, free: 13.78 MB / 490.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.0004887/0.006255, allocations: 428.1 kB / 0.5582 GB, free: 13.33 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.0063, allocations: 16.75 kB / 0.5582 GB, free: 13.31 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002579/0.006558, allocations: 40.81 kB / 0.5582 GB, free: 13.27 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002163/0.006775, allocations: 152.9 kB / 0.5584 GB, free: 13.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.006789, allocations: 8.375 kB / 0.5584 GB, free: 13.09 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/0.006803, allocations: 8.312 kB / 0.5584 GB, free: 13.08 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/0.007009, allocations: 82.92 kB / 0.5585 GB, free: 12.99 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.00702, allocations: 3.938 kB / 0.5585 GB, free: 12.99 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.007032, allocations: 0 / 0.5585 GB, free: 12.99 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.007043, allocations: 11.98 kB / 0.5585 GB, free: 12.98 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.023e-05/0.007114, allocations: 27.97 kB / 0.5585 GB, free: 12.95 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005098/0.007624, allocations: 347.5 kB / 0.5588 GB, free: 12.57 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.81e-05/0.007702, allocations: 35.06 kB / 0.5589 GB, free: 12.53 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.203e-05/0.007744, allocations: 23.61 kB / 0.5589 GB, free: 12.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.948e-05/0.007783, allocations: 8.125 kB / 0.5589 GB, free: 12.49 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.007807, allocations: 33.39 kB / 0.5589 GB, free: 12.45 MB / 490.7 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.007808, allocations: 0 / 0.5589 GB, free: 12.45 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002384/0.008047, allocations: 77.62 kB / 0.559 GB, free: 12.37 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/0.008081, allocations: 59.41 kB / 0.5591 GB, free: 12.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.008195, allocations: 196.7 kB / 0.5593 GB, free: 12.09 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.008211, allocations: 25.7 kB / 0.5593 GB, free: 12.06 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.684e-05/0.008278, allocations: 162.8 kB / 0.5594 GB, free: 11.89 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.469e-05/0.008303, allocations: 15.84 kB / 0.5594 GB, free: 11.88 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.587e-05/0.008348, allocations: 27.38 kB / 0.5595 GB, free: 11.84 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.008481, allocations: 0.4922 MB / 0.56 GB, free: 11.34 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.63e-05/0.008518, allocations: 12 kB / 0.56 GB, free: 11.33 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.003e-05/0.008548, allocations: 11.98 kB / 0.56 GB, free: 11.32 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.914e-05/0.008627, allocations: 31.69 kB / 0.56 GB, free: 11.28 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.008629, allocations: 4 kB / 0.56 GB, free: 11.28 MB / 490.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001323/0.008761, allocations: 65.62 kB / 0.5601 GB, free: 11.21 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.008775, allocations: 8 kB / 0.5601 GB, free: 11.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.008779, allocations: 448 / 0.5601 GB, free: 11.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.008792, allocations: 0 / 0.5601 GB, free: 11.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.008909, allocations: 19.92 kB / 0.5601 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.008918, allocations: 7.922 kB / 0.5601 GB, free: 11.17 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.166e-05/0.00896, allocations: 12 kB / 0.5601 GB, free: 11.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.116e-05/0.008981, allocations: 7.984 kB / 0.5601 GB, free: 11.15 MB / 490.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 7.555e-05/0.009056, allocations: 152.6 kB / 0.5603 GB, free: 10.99 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.452e-05/0.009091, allocations: 15.95 kB / 0.5603 GB, free: 10.98 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001959/0.009287, allocations: 86.38 kB / 0.5604 GB, free: 10.89 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.009289, allocations: 0 / 0.5604 GB, free: 10.89 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.009295, allocations: 7.875 kB / 0.5604 GB, free: 10.88 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.009298, allocations: 4 kB / 0.5604 GB, free: 10.88 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002211/0.009519, allocations: 148.5 kB / 0.5605 GB, free: 10.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.009522, allocations: 0 / 0.5605 GB, free: 10.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.364e-05/0.009595, allocations: 19.92 kB / 0.5605 GB, free: 10.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.009598, allocations: 0 / 0.5605 GB, free: 10.68 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.009608, allocations: 3.984 kB / 0.5605 GB, free: 10.68 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.009611, allocations: 4 kB / 0.5605 GB, free: 10.67 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.009614, allocations: 4 kB / 0.5606 GB, free: 10.67 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001857/0.0098, allocations: 219.8 kB / 0.5608 GB, free: 10.43 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.221e-05/0.009812, allocations: 7.953 kB / 0.5608 GB, free: 10.43 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.009831, allocations: 3.984 kB / 0.5608 GB, free: 10.42 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.203e-05/0.009903, allocations: 4 kB / 0.5608 GB, free: 10.42 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.838e-05/0.009951, allocations: 3.984 kB / 0.5608 GB, free: 10.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.009965, allocations: 11.94 kB / 0.5608 GB, free: 10.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.814e-05/0.01003, allocations: 153.7 kB / 0.5609 GB, free: 10.25 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01003, allocations: 0 / 0.5609 GB, free: 10.25 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002757/0.01031, allocations: 12 kB / 0.561 GB, free: 10.24 MB / 490.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.0001185/0.01043, allocations: 107.2 kB / 0.5611 GB, free: 10.12 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001335/0.01056, allocations: 35.67 kB / 0.5611 GB, free: 10.09 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.01056, allocations: 0 / 0.5611 GB, free: 10.09 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.549e-05/0.01061, allocations: 31.86 kB / 0.5611 GB, free: 10.05 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.01087, allocations: 11.05 kB / 0.5611 GB, free: 10.04 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006133/0.01148, allocations: 213.7 kB / 0.5613 GB, free: 9.805 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.311e-05/0.01153, allocations: 71.33 kB / 0.5614 GB, free: 9.715 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.631e-05/0.01159, allocations: 11.98 kB / 0.5614 GB, free: 9.703 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.985e-05/0.01163, allocations: 16.5 kB / 0.5614 GB, free: 9.688 MB / 490.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01163, allocations: 0 / 0.5614 GB, free: 9.688 MB / 490.7 MB Notification: Performance of Templates: time 0.00356/0.01519, allocations: 0.7623 MB / 0.5622 GB, free: 8.934 MB / 490.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.6556192999705672]