Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.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.0008069/0.0008069, allocations: 72.19 kB / 9.903 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001182/0.001989, allocations: 435.8 kB / 10.33 MB, free: 364 kB / 10.45 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.000739/0.000739, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009366/0.001676, allocations: 463.6 kB / 11.68 MB, free: 2.48 MB / 13.93 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.933/0.933, allocations: 177.1 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08434/1.017, allocations: 53.66 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] 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.001673/0.001673, allocations: 235.9 kB / 244.2 MB, free: 14.65 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004359/0.006032, allocations: 470.8 kB / 244.6 MB, free: 14.19 MB / 250.7 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 0.7713/0.7713, allocations: 138.7 MB / 384.1 MB, free: 488 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06893/0.8403, allocations: 42.39 MB / 426.5 MB, free: 5.961 MB / 410.7 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.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.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1") translateModel(BuildingSystems.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 427.8 MB, free: 4.621 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.19e-05/1.313e-05, allocations: 6.312 kB / 427.8 MB, free: 4.613 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ1): time 0.001667/0.00168, allocations: 1.538 MB / 429.3 MB, free: 3.062 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002878/0.001968, allocations: 247.9 kB / 429.6 MB, free: 2.816 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.187e-05/0.00199, allocations: 3.938 kB / 429.6 MB, free: 2.812 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.789e-05/0.002007, allocations: 0 / 429.6 MB, free: 2.812 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.117e-05/0.002029, allocations: 7.938 kB / 429.6 MB, free: 2.805 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001948/0.002223, allocations: 55.75 kB / 429.6 MB, free: 2.75 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.32e-05/0.002277, allocations: 23.92 kB / 429.7 MB, free: 2.727 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.548e-05/0.002342, allocations: 4 kB / 429.7 MB, free: 2.723 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.051e-05/0.002403, allocations: 11.98 kB / 429.7 MB, free: 2.711 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.622e-05/0.002439, allocations: 15.92 kB / 429.7 MB, free: 2.695 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.969e-06/0.002449, allocations: 4 kB / 429.7 MB, free: 2.691 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001392/0.002588, allocations: 67.86 kB / 429.8 MB, free: 2.625 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.089e-05/0.002599, allocations: 4 kB / 429.8 MB, free: 2.621 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.317e-05/0.002612, allocations: 7.938 kB / 429.8 MB, free: 2.613 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001075/0.00272, allocations: 43.89 kB / 429.8 MB, free: 2.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.407e-05/0.002734, allocations: 4 kB / 429.8 MB, free: 2.566 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.42e-07/0.002734, allocations: 0 / 429.8 MB, free: 2.566 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.521e-05/0.002749, allocations: 0 / 429.8 MB, free: 2.566 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003123/0.003062, allocations: 244.6 kB / 430.1 MB, free: 2.301 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.84e-05/0.00309, allocations: 15.98 kB / 430.1 MB, free: 2.285 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.246e-05/0.003113, allocations: 0.9375 kB / 430.1 MB, free: 2.285 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.518e-05/0.003188, allocations: 117.7 kB / 430.2 MB, free: 2.145 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.767e-06/0.003197, allocations: 384 / 430.2 MB, free: 2.145 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.181e-06/0.003203, allocations: 384 / 430.2 MB, free: 2.145 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.904e-05/0.003292, allocations: 50.95 kB / 430.3 MB, free: 2.086 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-06/0.003298, allocations: 4.188 kB / 430.3 MB, free: 2.082 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.43e-06/0.003304, allocations: 384 / 430.3 MB, free: 2.082 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.003309, allocations: 4.375 kB / 430.3 MB, free: 2.078 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2e-05/0.003329, allocations: 3.938 kB / 430.3 MB, free: 2.074 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001755/0.003505, allocations: 156.2 kB / 430.4 MB, free: 1.906 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.723e-05/0.003542, allocations: 22.52 kB / 430.4 MB, free: 1.875 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.274e-05/0.003555, allocations: 8.922 kB / 430.4 MB, free: 1.863 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002809/0.003836, allocations: 83.91 kB / 430.5 MB, free: 1.781 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.003854, allocations: 30.56 kB / 430.6 MB, free: 1.742 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.003855, allocations: 4 kB / 430.6 MB, free: 1.738 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 9.376e-05/0.003949, allocations: 37.62 kB / 430.6 MB, free: 1.695 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.488e-05/0.003973, allocations: 59.34 kB / 430.7 MB, free: 1.625 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.516e-05/0.004019, allocations: 102.7 kB / 430.8 MB, free: 1.512 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.916e-06/0.004028, allocations: 29.69 kB / 430.8 MB, free: 1.477 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.507e-05/0.004053, allocations: 84.14 kB / 430.9 MB, free: 1.391 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.378e-05/0.004066, allocations: 12.08 kB / 430.9 MB, free: 1.379 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.983e-05/0.004086, allocations: 9.719 kB / 430.9 MB, free: 1.363 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.153e-05/0.004158, allocations: 318.8 kB / 431.2 MB, free: 1.043 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.382e-06/0.004164, allocations: 0 / 431.2 MB, free: 1.043 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.012e-06/0.00417, allocations: 0 / 431.2 MB, free: 1.043 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.995e-05/0.00419, allocations: 16.84 kB / 431.2 MB, free: 1.023 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.004192, allocations: 0 / 431.2 MB, free: 1.023 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.966e-05/0.004231, allocations: 33.64 kB / 431.3 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.004242, allocations: 11.98 kB / 431.3 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.004246, allocations: 96 / 431.3 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.965e-06/0.004254, allocations: 4 kB / 431.3 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.047e-05/0.004305, allocations: 7.938 kB / 431.3 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.275e-06/0.004307, allocations: 0 / 431.3 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.648e-05/0.004323, allocations: 7.953 kB / 431.3 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.935e-06/0.004326, allocations: 0 / 431.3 MB, free: 0.9531 MB / 410.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 (2): * Single equations (assignments): 2 * 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.189e-05/0.004378, allocations: 113.8 kB / 431.4 MB, free: 0.832 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.126e-05/0.00439, allocations: 4 kB / 431.4 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.269e-05/0.004442, allocations: 37 kB / 431.4 MB, free: 0.7891 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.004444, allocations: 192 / 431.4 MB, free: 0.7891 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.004447, allocations: 15.91 kB / 431.4 MB, free: 0.7734 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.00445, allocations: 3.984 kB / 431.5 MB, free: 0.7695 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.2e-05/0.004522, allocations: 61.91 kB / 431.5 MB, free: 0.6914 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.004523, allocations: 0 / 431.5 MB, free: 0.6914 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.932e-05/0.004542, allocations: 7.984 kB / 431.5 MB, free: 0.6836 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.48e-06/0.004548, allocations: 4 kB / 431.5 MB, free: 0.6797 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.004549, allocations: 0 / 431.5 MB, free: 0.6797 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.865e-06/0.004552, allocations: 0 / 431.5 MB, free: 0.6797 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.004553, allocations: 0 / 431.5 MB, free: 0.6797 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.004556, allocations: 7.875 kB / 431.5 MB, free: 0.6719 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.704e-05/0.004613, allocations: 139.5 kB / 431.7 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.593e-06/0.004619, allocations: 0 / 431.7 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.754e-05/0.004647, allocations: 4 kB / 431.7 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.306e-05/0.00467, allocations: 3.984 kB / 431.7 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-06/0.004671, allocations: 0 / 431.7 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.286e-05/0.004684, allocations: 16.78 kB / 431.7 MB, free: 0.4922 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004684, allocations: 3.938 kB / 431.7 MB, free: 500 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001256/0.00481, allocations: 19.94 kB / 431.7 MB, free: 480 kB / 410.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 (2): * Single equations (assignments): 2 * 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.0001176/0.004927, allocations: 96.44 kB / 431.8 MB, free: 376 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.447e-05/0.004982, allocations: 20.84 kB / 431.8 MB, free: 352 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.004985, allocations: 0 / 431.8 MB, free: 352 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.267e-05/0.004998, allocations: 8.859 kB / 431.8 MB, free: 340 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001088/0.005106, allocations: 7.938 kB / 431.8 MB, free: 332 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005405/0.005647, allocations: 119.9 kB / 432 MB, free: 188 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.766e-05/0.005675, allocations: 55.34 kB / 432 MB, free: 112 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.422e-05/0.005689, allocations: 7.938 kB / 432 MB, free: 104 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.252e-05/0.005721, allocations: 51.38 kB / 432.1 MB, free: 52 kB / 410.7 MB Notification: Performance of SimCode: time 6.11e-07/0.005722, allocations: 0 / 432.1 MB, free: 52 kB / 410.7 MB Notification: Performance of Templates: time 0.1655/0.1712, allocations: 0.7007 MB / 432.8 MB, free: 2.738 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3469739677384496]