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.001841/0.001841, allocations: 93.47 kB / 19.44 MB, free: 340 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.002035/0.002035, allocations: 169.2 kB / 22.76 MB, free: 1.668 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.611/1.611, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.003374/0.003374, allocations: 232.3 kB / 259.8 MB, free: 12.86 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 1.182/1.182, allocations: 138.4 MB / 454.7 MB, free: 1.504 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.723e-06/1.723e-06, allocations: 0 / 0.5543 GB, free: 0.875 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.041e-05/3.213e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8711 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.VectorFunctions): time 0.003916/0.003948, allocations: 1.616 MB / 0.5559 GB, free: 15.24 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001616/0.005564, allocations: 0.5853 MB / 0.5565 GB, free: 14.65 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.982e-05/0.005644, allocations: 0 / 0.5565 GB, free: 14.65 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001426/0.005786, allocations: 15.8 kB / 0.5565 GB, free: 14.63 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.699e-05/0.005863, allocations: 15.81 kB / 0.5565 GB, free: 14.62 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004168/0.00628, allocations: 55.86 kB / 0.5566 GB, free: 14.56 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002334/0.006514, allocations: 103.5 kB / 0.5567 GB, free: 14.46 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001771/0.006691, allocations: 19.98 kB / 0.5567 GB, free: 14.44 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002433/0.006934, allocations: 59.88 kB / 0.5567 GB, free: 14.38 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.007045, allocations: 31.91 kB / 0.5568 GB, free: 14.35 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.372e-05/0.007079, allocations: 8 kB / 0.5568 GB, free: 14.34 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.007183, allocations: 23.97 kB / 0.5568 GB, free: 14.32 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 6.331e-05/0.007246, allocations: 19.92 kB / 0.5568 GB, free: 14.3 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.581e-05/0.007312, allocations: 23.91 kB / 0.5568 GB, free: 14.28 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000281/0.007593, allocations: 107.6 kB / 0.5569 GB, free: 14.17 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.007598, allocations: 0 / 0.5569 GB, free: 14.17 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.007599, allocations: 0 / 0.5569 GB, free: 14.17 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.007606, allocations: 0 / 0.5569 GB, free: 14.17 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.0008603/0.008466, allocations: 431.8 kB / 0.5574 GB, free: 13.71 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/0.008519, allocations: 12.75 kB / 0.5574 GB, free: 13.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000445/0.008964, allocations: 40.81 kB / 0.5574 GB, free: 13.66 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003442/0.009309, allocations: 156.9 kB / 0.5576 GB, free: 13.48 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.483e-05/0.009333, allocations: 12.38 kB / 0.5576 GB, free: 13.47 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.486e-05/0.009358, allocations: 8.312 kB / 0.5576 GB, free: 13.46 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003159/0.009674, allocations: 74.22 kB / 0.5576 GB, free: 13.39 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.009692, allocations: 7.875 kB / 0.5577 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.885e-05/0.009721, allocations: 11.98 kB / 0.5577 GB, free: 13.37 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.009726, allocations: 4 kB / 0.5577 GB, free: 13.36 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002608/0.009987, allocations: 55.62 kB / 0.5577 GB, free: 13.31 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008874/0.01087, allocations: 355.5 kB / 0.5581 GB, free: 12.93 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001949/0.01107, allocations: 47.05 kB / 0.5581 GB, free: 12.87 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001398/0.01121, allocations: 35.78 kB / 0.5581 GB, free: 12.83 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.37e-05/0.01126, allocations: 4 kB / 0.5581 GB, free: 12.83 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.272e-05/0.01132, allocations: 37.39 kB / 0.5582 GB, free: 12.78 MB / 490.7 MB Notification: Performance of pre-optimization done (n=6): time 1.653e-06/0.01132, allocations: 4 kB / 0.5582 GB, free: 12.78 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005881/0.01191, allocations: 121.5 kB / 0.5583 GB, free: 12.65 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.151e-05/0.01198, allocations: 55.41 kB / 0.5584 GB, free: 12.59 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002531/0.01223, allocations: 208.8 kB / 0.5586 GB, free: 12.37 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.798e-05/0.01226, allocations: 29.7 kB / 0.5586 GB, free: 12.33 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.0124, allocations: 150.8 kB / 0.5587 GB, free: 12.18 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.259e-05/0.01247, allocations: 27.92 kB / 0.5588 GB, free: 12.15 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.908e-05/0.01254, allocations: 23.38 kB / 0.5588 GB, free: 12.12 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003642/0.01291, allocations: 0.5001 MB / 0.5593 GB, free: 11.61 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.01303, allocations: 23.98 kB / 0.5593 GB, free: 11.59 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/0.01314, allocations: 23.98 kB / 0.5593 GB, free: 11.56 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002442/0.01339, allocations: 55.59 kB / 0.5594 GB, free: 11.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.01339, allocations: 0 / 0.5594 GB, free: 11.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003422/0.01373, allocations: 89.62 kB / 0.5594 GB, free: 11.41 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.01375, allocations: 8 kB / 0.5595 GB, free: 11.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.01376, allocations: 0 / 0.5595 GB, free: 11.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.01378, allocations: 0 / 0.5595 GB, free: 11.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001789/0.01396, allocations: 19.98 kB / 0.5595 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.441e-05/0.01397, allocations: 7.922 kB / 0.5595 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.54e-05/0.01407, allocations: 12.42 kB / 0.5595 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.055e-05/0.0141, allocations: 4 kB / 0.5595 GB, free: 11.36 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 0.0001907/0.01429, allocations: 164.5 kB / 0.5597 GB, free: 11.19 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.936e-05/0.01436, allocations: 7.953 kB / 0.5597 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004448/0.0148, allocations: 106.4 kB / 0.5598 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.01481, allocations: 0 / 0.5598 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.01481, allocations: 7.938 kB / 0.5598 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.361e-05/0.01483, allocations: 7.984 kB / 0.5598 GB, free: 11.06 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003348/0.01516, allocations: 164.4 kB / 0.5599 GB, free: 10.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.01516, allocations: 0 / 0.5599 GB, free: 10.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001412/0.01531, allocations: 15.98 kB / 0.56 GB, free: 10.85 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.01531, allocations: 0 / 0.56 GB, free: 10.85 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.01532, allocations: 0 / 0.56 GB, free: 10.85 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.01532, allocations: 0 / 0.56 GB, free: 10.85 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.171e-05/0.01533, allocations: 7.938 kB / 0.56 GB, free: 10.84 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004521/0.01579, allocations: 243.8 kB / 0.5602 GB, free: 10.58 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.944e-05/0.01581, allocations: 11.95 kB / 0.5602 GB, free: 10.57 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.504e-05/0.01583, allocations: 0 / 0.5602 GB, free: 10.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.01596, allocations: 4 kB / 0.5602 GB, free: 10.57 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.545e-05/0.01603, allocations: 7.984 kB / 0.5602 GB, free: 10.56 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-05/0.01606, allocations: 15.92 kB / 0.5602 GB, free: 10.54 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001605/0.01622, allocations: 147.2 kB / 0.5604 GB, free: 10.4 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.01622, allocations: 0 / 0.5604 GB, free: 10.4 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004026/0.01662, allocations: 12 kB / 0.5604 GB, free: 10.39 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.000235/0.01686, allocations: 103.2 kB / 0.5605 GB, free: 10.27 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003413/0.0172, allocations: 71.59 kB / 0.5605 GB, free: 10.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.0172, allocations: 0 / 0.5605 GB, free: 10.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001511/0.01735, allocations: 35.67 kB / 0.5606 GB, free: 10.16 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/0.01772, allocations: 8 kB / 0.5606 GB, free: 10.15 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000695/0.01841, allocations: 218 kB / 0.5608 GB, free: 9.91 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001389/0.01855, allocations: 94.86 kB / 0.5609 GB, free: 9.801 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 9.263e-05/0.01865, allocations: 15.98 kB / 0.5609 GB, free: 9.785 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.675e-05/0.0187, allocations: 16.5 kB / 0.5609 GB, free: 9.77 MB / 490.7 MB Notification: Performance of SimCode: time 5.81e-07/0.0187, allocations: 0 / 0.5609 GB, free: 9.77 MB / 490.7 MB Notification: Performance of Templates: time 0.005236/0.02394, allocations: 0.7265 MB / 0.5616 GB, free: 9.051 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: 5.8558367639780045]