Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.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.0007596/0.0007596, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009134/0.001673, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007059/0.0007059, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008971/0.001603, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.006/1.006, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0869/1.093, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.001579/0.001579, allocations: 244.2 kB / 244.2 MB, free: 14.63 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001201/0.00278, allocations: 471 kB / 244.7 MB, free: 14.17 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.736/0.736, allocations: 138.7 MB / 384.1 MB, free: 488 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06914/0.8052, allocations: 42.4 MB / 426.5 MB, free: 5.957 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.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 427.8 MB, free: 4.582 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.285e-05/1.428e-05, allocations: 2.312 kB / 427.8 MB, free: 4.578 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselY0): time 0.001475/0.001489, allocations: 0.6508 MB / 428.5 MB, free: 3.926 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004295/0.001919, allocations: 278.9 kB / 428.8 MB, free: 3.652 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.919e-06/0.001929, allocations: 0 / 428.8 MB, free: 3.652 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.757e-06/0.001932, allocations: 0 / 428.8 MB, free: 3.652 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.112e-06/0.001933, allocations: 0 / 428.8 MB, free: 3.652 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000293/0.002226, allocations: 87.59 kB / 428.8 MB, free: 3.566 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.172e-05/0.002288, allocations: 4 kB / 428.9 MB, free: 3.562 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.697e-05/0.002325, allocations: 0 / 428.9 MB, free: 3.562 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.182e-05/0.002357, allocations: 0 / 428.9 MB, free: 3.562 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.232e-05/0.002389, allocations: 0 / 428.9 MB, free: 3.562 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.0024, allocations: 4 kB / 428.9 MB, free: 3.559 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002877/0.002688, allocations: 131.7 kB / 429 MB, free: 3.43 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.043e-05/0.002698, allocations: 4 kB / 429 MB, free: 3.426 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.293e-05/0.002711, allocations: 0 / 429 MB, free: 3.426 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001617/0.002873, allocations: 63.86 kB / 429.1 MB, free: 3.363 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.734e-05/0.00289, allocations: 0 / 429.1 MB, free: 3.363 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.002891, allocations: 0 / 429.1 MB, free: 3.363 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.975e-05/0.00291, allocations: 3.984 kB / 429.1 MB, free: 3.359 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002964/0.003207, allocations: 240.5 kB / 429.3 MB, free: 3.098 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.003241, allocations: 12.03 kB / 429.3 MB, free: 3.086 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.563e-05/0.003267, allocations: 0.9375 kB / 429.3 MB, free: 3.086 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.395e-05/0.003341, allocations: 109.8 kB / 429.4 MB, free: 2.953 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.003351, allocations: 4.312 kB / 429.4 MB, free: 2.949 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.961e-06/0.003357, allocations: 4.375 kB / 429.4 MB, free: 2.945 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.25e-05/0.003429, allocations: 30.27 kB / 429.4 MB, free: 2.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.003436, allocations: 192 / 429.4 MB, free: 2.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.42e-06/0.003441, allocations: 384 / 429.4 MB, free: 2.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.003446, allocations: 384 / 429.4 MB, free: 2.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.67e-05/0.003463, allocations: 11.92 kB / 429.5 MB, free: 2.898 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.523e-05/0.003538, allocations: 53.05 kB / 429.5 MB, free: 2.832 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.491e-05/0.003573, allocations: 22.55 kB / 429.5 MB, free: 2.801 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.308e-05/0.003586, allocations: 4.859 kB / 429.5 MB, free: 2.793 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004178/0.004004, allocations: 76 kB / 429.6 MB, free: 2.719 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.004029, allocations: 34.55 kB / 429.6 MB, free: 2.676 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.233e-06/0.004031, allocations: 0 / 429.6 MB, free: 2.676 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 8.756e-05/0.004118, allocations: 33.64 kB / 429.7 MB, free: 2.637 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/0.004149, allocations: 55.41 kB / 429.7 MB, free: 2.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.341e-05/0.004183, allocations: 89.98 kB / 429.8 MB, free: 2.473 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.004195, allocations: 33.7 kB / 429.9 MB, free: 2.434 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.372e-05/0.004218, allocations: 80.14 kB / 429.9 MB, free: 2.352 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.079e-05/0.004249, allocations: 3.953 kB / 429.9 MB, free: 2.348 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.508e-05/0.004274, allocations: 13.72 kB / 429.9 MB, free: 2.328 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.322e-05/0.004368, allocations: 326.8 kB / 430.3 MB, free: 2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.29e-06/0.004373, allocations: 0 / 430.3 MB, free: 2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.298e-06/0.004377, allocations: 0 / 430.3 MB, free: 2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.465e-05/0.004402, allocations: 8.859 kB / 430.3 MB, free: 1.988 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.004404, allocations: 0 / 430.3 MB, free: 1.988 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.394e-05/0.004448, allocations: 37.7 kB / 430.3 MB, free: 1.945 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.00446, allocations: 8 kB / 430.3 MB, free: 1.938 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.004465, allocations: 0 / 430.3 MB, free: 1.938 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.776e-06/0.004473, allocations: 0 / 430.3 MB, free: 1.938 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.961e-05/0.004513, allocations: 0 / 430.3 MB, free: 1.938 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.004517, allocations: 3.984 kB / 430.3 MB, free: 1.934 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.618e-06/0.004527, allocations: 0 / 430.3 MB, free: 1.934 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-06/0.004531, allocations: 4 kB / 430.3 MB, free: 1.93 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 (1): * Single equations (assignments): 1 * 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.534e-05/0.004586, allocations: 109.8 kB / 430.4 MB, free: 1.812 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.039e-06/0.004591, allocations: 0 / 430.4 MB, free: 1.812 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.633e-05/0.004647, allocations: 40.73 kB / 430.5 MB, free: 1.77 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.004649, allocations: 3.938 kB / 430.5 MB, free: 1.766 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.004652, allocations: 3.984 kB / 430.5 MB, free: 1.762 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.004654, allocations: 0 / 430.5 MB, free: 1.762 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.549e-05/0.00471, allocations: 65.84 kB / 430.5 MB, free: 1.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.004711, allocations: 0 / 430.5 MB, free: 1.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.183e-05/0.004723, allocations: 3.938 kB / 430.6 MB, free: 1.676 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.99e-06/0.004728, allocations: 4 kB / 430.6 MB, free: 1.672 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.004729, allocations: 0 / 430.6 MB, free: 1.672 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.007e-06/0.004733, allocations: 4 kB / 430.6 MB, free: 1.668 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.004734, allocations: 0 / 430.6 MB, free: 1.668 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.004736, allocations: 4.031 kB / 430.6 MB, free: 1.664 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.224e-05/0.004788, allocations: 61.06 kB / 430.6 MB, free: 1.586 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.753e-06/0.004795, allocations: 0 / 430.6 MB, free: 1.586 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.152e-06/0.004801, allocations: 0 / 430.6 MB, free: 1.586 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.897e-06/0.00481, allocations: 0 / 430.6 MB, free: 1.586 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.004812, allocations: 0 / 430.6 MB, free: 1.586 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.052e-06/0.004818, allocations: 4.859 kB / 430.6 MB, free: 1.578 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.004818, allocations: 0 / 430.6 MB, free: 1.578 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001886/0.005006, allocations: 35.86 kB / 430.7 MB, free: 1.543 MB / 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 (1): * Single equations (assignments): 1 * 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.0001976/0.005204, allocations: 124.3 kB / 430.8 MB, free: 1.414 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.551e-05/0.00526, allocations: 16.8 kB / 430.8 MB, free: 1.395 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.005264, allocations: 4 kB / 430.8 MB, free: 1.391 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.44e-06/0.005269, allocations: 8.922 kB / 430.8 MB, free: 1.379 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.891e-05/0.005318, allocations: 3.938 kB / 430.8 MB, free: 1.375 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001394/0.005458, allocations: 78.3 kB / 430.9 MB, free: 1.273 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.322e-05/0.005491, allocations: 59.34 kB / 431 MB, free: 1.195 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.468e-06/0.0055, allocations: 0 / 431 MB, free: 1.195 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.631e-05/0.005527, allocations: 47.38 kB / 431 MB, free: 1.148 MB / 410.7 MB Notification: Performance of SimCode: time 4.01e-07/0.005527, allocations: 0 / 431 MB, free: 1.148 MB / 410.7 MB Notification: Performance of Templates: time 0.002608/0.008135, allocations: 0.7343 MB / 431.7 MB, free: 424 kB / 410.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0 -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1689633540809155]