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.00132/0.00132, allocations: 84.73 kB / 19.43 MB, free: 360 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.001438/0.001438, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.44/1.44, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.002549/0.002549, allocations: 229.2 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.072/1.072, allocations: 138.4 MB / 454.7 MB, free: 1.469 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.273e-06/1.273e-06, allocations: 0 / 0.5543 GB, free: 0.8359 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.293e-05/2.421e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.832 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.VectorFunctions): time 0.002898/0.002922, allocations: 1.584 MB / 0.5559 GB, free: 15.23 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001138/0.00406, allocations: 0.5775 MB / 0.5565 GB, free: 14.65 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.798e-05/0.004128, allocations: 3.938 kB / 0.5565 GB, free: 14.64 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001048/0.004233, allocations: 7.875 kB / 0.5565 GB, free: 14.64 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.581e-05/0.004279, allocations: 23.78 kB / 0.5565 GB, free: 14.61 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003037/0.004582, allocations: 59.8 kB / 0.5565 GB, free: 14.55 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001584/0.004741, allocations: 99.58 kB / 0.5566 GB, free: 14.46 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.004869, allocations: 27.97 kB / 0.5567 GB, free: 14.43 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001778/0.005047, allocations: 51.89 kB / 0.5567 GB, free: 14.38 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.172e-05/0.005138, allocations: 31.89 kB / 0.5567 GB, free: 14.35 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.311e-05/0.005162, allocations: 8 kB / 0.5568 GB, free: 14.34 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.542e-05/0.005237, allocations: 19.98 kB / 0.5568 GB, free: 14.32 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.559e-05/0.005283, allocations: 23.91 kB / 0.5568 GB, free: 14.3 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.084e-05/0.005333, allocations: 23.92 kB / 0.5568 GB, free: 14.27 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001907/0.005524, allocations: 103.5 kB / 0.5569 GB, free: 14.17 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.005528, allocations: 4 kB / 0.5569 GB, free: 14.17 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.005529, allocations: 4 kB / 0.5569 GB, free: 14.16 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.005533, allocations: 0 / 0.5569 GB, free: 14.16 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.0005683/0.006101, allocations: 329.9 kB / 0.5572 GB, free: 13.81 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.006136, allocations: 8.75 kB / 0.5573 GB, free: 13.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003147/0.006451, allocations: 44.81 kB / 0.5573 GB, free: 13.76 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002529/0.006704, allocations: 154.1 kB / 0.5574 GB, free: 13.59 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.006721, allocations: 16.31 kB / 0.5575 GB, free: 13.57 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.006735, allocations: 8.312 kB / 0.5575 GB, free: 13.56 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002822/0.007018, allocations: 113.7 kB / 0.5576 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.007031, allocations: 3.938 kB / 0.5576 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.007042, allocations: 0 / 0.5576 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.882e-06/0.007049, allocations: 4 kB / 0.5576 GB, free: 13.44 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002576/0.007307, allocations: 91.94 kB / 0.5577 GB, free: 13.35 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006122/0.007919, allocations: 312.3 kB / 0.558 GB, free: 13.02 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.008091, allocations: 54.55 kB / 0.558 GB, free: 12.95 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000131/0.008222, allocations: 44.95 kB / 0.5581 GB, free: 12.91 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.005e-05/0.008262, allocations: 7.984 kB / 0.5581 GB, free: 12.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/0.0083, allocations: 34.5 kB / 0.5581 GB, free: 12.86 MB / 490.7 MB Notification: Performance of pre-optimization done (n=6): time 9.01e-07/0.008301, allocations: 0 / 0.5581 GB, free: 12.86 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005313/0.008832, allocations: 173.5 kB / 0.5583 GB, free: 12.68 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.008881, allocations: 55.41 kB / 0.5583 GB, free: 12.61 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.009033, allocations: 144.8 kB / 0.5585 GB, free: 12.46 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.009057, allocations: 25.7 kB / 0.5585 GB, free: 12.43 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.071e-05/0.009138, allocations: 104.1 kB / 0.5586 GB, free: 12.33 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.473e-05/0.009172, allocations: 23.94 kB / 0.5586 GB, free: 12.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.591e-05/0.009218, allocations: 17.7 kB / 0.5586 GB, free: 12.28 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.009392, allocations: 318.8 kB / 0.5589 GB, free: 11.96 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.009522, allocations: 47.97 kB / 0.559 GB, free: 11.91 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.009632, allocations: 35.97 kB / 0.559 GB, free: 11.88 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002412/0.009874, allocations: 92.73 kB / 0.5591 GB, free: 11.79 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.009875, allocations: 0 / 0.5591 GB, free: 11.79 MB / 490.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003122/0.01019, allocations: 129.6 kB / 0.5592 GB, free: 11.65 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.0102, allocations: 6.969 kB / 0.5592 GB, free: 11.65 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.01021, allocations: 4 kB / 0.5592 GB, free: 11.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.01022, allocations: 0 / 0.5592 GB, free: 11.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.01036, allocations: 19.98 kB / 0.5592 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.01037, allocations: 7.922 kB / 0.5593 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.058e-05/0.01044, allocations: 8.422 kB / 0.5593 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.393e-05/0.01046, allocations: 4 kB / 0.5593 GB, free: 11.61 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.0001165/0.01058, allocations: 125.8 kB / 0.5594 GB, free: 11.47 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.246e-05/0.01062, allocations: 11.95 kB / 0.5594 GB, free: 11.46 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003893/0.01101, allocations: 142.4 kB / 0.5595 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.01101, allocations: 3.938 kB / 0.5595 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.01102, allocations: 7.938 kB / 0.5595 GB, free: 11.31 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.01102, allocations: 0 / 0.5595 GB, free: 11.31 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002074/0.01123, allocations: 153.2 kB / 0.5597 GB, free: 11.13 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.01123, allocations: 0 / 0.5597 GB, free: 11.13 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.01134, allocations: 19.98 kB / 0.5597 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.01134, allocations: 0 / 0.5597 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.218e-06/0.01135, allocations: 0 / 0.5597 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.01135, allocations: 7.938 kB / 0.5597 GB, free: 11.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.01135, allocations: 0 / 0.5597 GB, free: 11.1 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003739/0.01173, allocations: 227.4 kB / 0.5599 GB, free: 10.86 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.295e-05/0.01175, allocations: 7.953 kB / 0.5599 GB, free: 10.86 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.01177, allocations: 3.984 kB / 0.5599 GB, free: 10.85 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.01187, allocations: 4 kB / 0.5599 GB, free: 10.85 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.922e-05/0.01192, allocations: 11.98 kB / 0.56 GB, free: 10.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.01194, allocations: 7.938 kB / 0.56 GB, free: 10.83 MB / 490.7 MB Notification: Performance of sorting global known variables: time 8.742e-05/0.01203, allocations: 107.2 kB / 0.5601 GB, free: 10.72 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01203, allocations: 4 kB / 0.5601 GB, free: 10.72 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002508/0.01228, allocations: 12 kB / 0.5601 GB, free: 10.71 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.0001498/0.01243, allocations: 103.2 kB / 0.5602 GB, free: 10.59 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003022/0.01273, allocations: 99.92 kB / 0.5603 GB, free: 10.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01273, allocations: 0 / 0.5603 GB, free: 10.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001353/0.01287, allocations: 47.97 kB / 0.5603 GB, free: 10.45 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.0131, allocations: 12 kB / 0.5603 GB, free: 10.44 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005102/0.01361, allocations: 236 kB / 0.5606 GB, free: 10.18 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001087/0.01372, allocations: 88.3 kB / 0.5606 GB, free: 10.07 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.23e-05/0.01378, allocations: 15.97 kB / 0.5607 GB, free: 10.06 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.094e-05/0.01383, allocations: 12.5 kB / 0.5607 GB, free: 10.05 MB / 490.7 MB Notification: Performance of SimCode: time 3.91e-07/0.01383, allocations: 4 kB / 0.5607 GB, free: 10.04 MB / 490.7 MB Notification: Performance of Templates: time 0.00376/0.01759, allocations: 0.7064 MB / 0.5614 GB, free: 9.344 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.427799530909397]