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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 101.7 kB / 19.59 MB, free: 2.324 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 194 kB / 22.85 MB, free: 5.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 225.6 MB / 251.5 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002559/0.002559, allocations: 294.2 kB / 307.1 MB, free: 8.352 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.214/1.214, allocations: 180.8 MB / 0.5304 GB, free: 14.54 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(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 0.002835/0.002835, allocations: 102.8 kB / 0.7311 GB, free: 39.14 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.18, allocations: 94.2 MB / 0.8231 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.VectorFunctions): time 0.003295/0.1833, allocations: 1.611 MB / 0.8246 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0009158/0.1842, allocations: 0.5128 MB / 0.8251 GB, free: 20 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.643e-05/0.1843, allocations: 0 / 0.8251 GB, free: 20 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.845e-05/0.1844, allocations: 11.86 kB / 0.8252 GB, free: 8 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.687e-05/0.1844, allocations: 15.98 kB / 0.8252 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002542/0.1847, allocations: 43.89 kB / 0.8252 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.1848, allocations: 79.59 kB / 0.8253 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.185, allocations: 24.22 kB / 0.8253 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 9.615e-05/0.1851, allocations: 43.83 kB / 0.8254 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.415e-05/0.1852, allocations: 39.84 kB / 0.8254 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.1852, allocations: 8 kB / 0.8254 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 6.489e-05/0.1852, allocations: 15.98 kB / 0.8254 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.662e-05/0.1853, allocations: 31.86 kB / 0.8254 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.696e-05/0.1853, allocations: 31.75 kB / 0.8255 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001665/0.1855, allocations: 95.56 kB / 0.8256 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1855, allocations: 0 / 0.8256 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1855, allocations: 0 / 0.8256 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.1855, allocations: 0 / 0.8256 GB, free: 15.59 MB / 0.5762 GB 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.0005584/0.1861, allocations: 329.9 kB / 0.8259 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.1861, allocations: 8.031 kB / 0.8259 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.043e-05/0.1861, allocations: 16.83 kB / 0.8259 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001875/0.1863, allocations: 152.3 kB / 0.8261 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.1863, allocations: 4.375 kB / 0.8261 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.1864, allocations: 8.375 kB / 0.8261 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002583/0.1866, allocations: 105.9 kB / 0.8262 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.1866, allocations: 3.984 kB / 0.8262 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.1866, allocations: 4 kB / 0.8262 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.1866, allocations: 4 kB / 0.8262 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002409/0.1869, allocations: 103.2 kB / 0.8263 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005946/0.1875, allocations: 347.6 kB / 0.8266 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.1876, allocations: 58.55 kB / 0.8267 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.1878, allocations: 48.95 kB / 0.8267 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.434e-05/0.1878, allocations: 4 kB / 0.8267 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.1878, allocations: 38.5 kB / 0.8267 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.1878, allocations: 0 / 0.8267 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.0004607/0.1883, allocations: 161.5 kB / 0.8269 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/0.1883, allocations: 51.41 kB / 0.827 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.1884, allocations: 145.5 kB / 0.8271 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.1885, allocations: 25.7 kB / 0.8271 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.755e-05/0.1885, allocations: 108.1 kB / 0.8272 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.572e-05/0.1886, allocations: 15.91 kB / 0.8272 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.389e-05/0.1886, allocations: 21.7 kB / 0.8273 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.1887, allocations: 322.8 kB / 0.8276 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.1889, allocations: 35.97 kB / 0.8276 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.189, allocations: 47.91 kB / 0.8276 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000218/0.1892, allocations: 84.81 kB / 0.8277 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.1892, allocations: 0 / 0.8277 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002669/0.1894, allocations: 125.6 kB / 0.8278 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.1895, allocations: 4 kB / 0.8278 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-06/0.1895, allocations: 4 kB / 0.8279 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.1895, allocations: 0 / 0.8279 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.1896, allocations: 23.92 kB / 0.8279 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.1896, allocations: 0 / 0.8279 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.286e-05/0.1897, allocations: 15.88 kB / 0.8279 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.99e-05/0.1897, allocations: 7.938 kB / 0.8279 GB, free: 13.02 MB / 0.5762 GB 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.0001143/0.1898, allocations: 122.5 kB / 0.828 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.107e-05/0.1898, allocations: 11.89 kB / 0.828 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003485/0.1902, allocations: 142.8 kB / 0.8282 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.1902, allocations: 3.938 kB / 0.8282 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.1902, allocations: 4.062 kB / 0.8282 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1902, allocations: 0 / 0.8282 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002184/0.1904, allocations: 176.7 kB / 0.8283 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1904, allocations: 3.938 kB / 0.8283 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.1905, allocations: 23.92 kB / 0.8284 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1905, allocations: 0 / 0.8284 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.1905, allocations: 4 kB / 0.8284 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/0.1905, allocations: 3.938 kB / 0.8284 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.1905, allocations: 0 / 0.8284 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003284/0.1909, allocations: 223.4 kB / 0.8286 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.193e-05/0.1909, allocations: 3.953 kB / 0.8286 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.1909, allocations: 7.984 kB / 0.8286 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.957e-05/0.191, allocations: 11.94 kB / 0.8286 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.396e-05/0.191, allocations: 3.984 kB / 0.8286 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.1911, allocations: 8 kB / 0.8286 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.041e-05/0.1911, allocations: 105.1 kB / 0.8287 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1911, allocations: 0 / 0.8287 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002364/0.1914, allocations: 23.89 kB / 0.8287 GB, free: 12.07 MB / 0.5762 GB 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.0001348/0.1915, allocations: 99.19 kB / 0.8288 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002817/0.1918, allocations: 99.94 kB / 0.8289 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.1918, allocations: 0 / 0.8289 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.1919, allocations: 55.89 kB / 0.829 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002094/0.1921, allocations: 4 kB / 0.829 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000441/0.1926, allocations: 219.2 kB / 0.8292 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.1929, allocations: 0.7041 MB / 0.8299 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001085/0.193, allocations: 19.95 kB / 0.8299 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.841e-05/0.1931, allocations: 11.44 kB / 0.8299 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of SimCode: time 2.91e-07/0.1931, allocations: 0 / 0.8299 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of Templates: time 0.003177/0.1962, allocations: 0.7461 MB / 0.8306 GB, free: 10.07 MB / 0.5762 GB " [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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.844354982022196] Failed to read output from testmodel.py, exit status != 0: 0.20347944600507617 0.21780674900000002 0.029377791 Calling exit ...