Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.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.001208/0.001208, allocations: 118.7 kB / 17.13 MB, free: 5.758 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.00121/0.00121, allocations: 193.2 kB / 20.08 MB, free: 2.848 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.36/1.36, allocations: 225.6 MB / 248.5 MB, free: 3.629 MB / 190.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.0023/0.0023, allocations: 276.1 kB / 303.6 MB, free: 3.688 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.027/1.027, allocations: 180.9 MB / 0.5268 GB, free: 2.723 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.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002697/0.002697, allocations: 107.8 kB / 0.726 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.499/0.5017, allocations: 94.14 MB / 0.8179 GB, free: 7.461 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0): time 0.001456/0.5031, allocations: 0.5798 MB / 0.8185 GB, free: 7.102 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.0003783/0.5035, allocations: 194.4 kB / 0.8187 GB, free: 6.973 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.075e-05/0.5035, allocations: 0.9375 kB / 0.8187 GB, free: 6.973 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 1.694e-05/0.5035, allocations: 0 / 0.8187 GB, free: 6.973 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 4.769e-06/0.5035, allocations: 0 / 0.8187 GB, free: 6.973 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002952/0.5038, allocations: 55.16 kB / 0.8187 GB, free: 6.949 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 3.018e-05/0.5039, allocations: 1.062 kB / 0.8187 GB, free: 6.949 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 3.599e-05/0.5039, allocations: 5.312 kB / 0.8187 GB, free: 6.949 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 9.648e-06/0.5039, allocations: 4 kB / 0.8187 GB, free: 6.945 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 1.537e-05/0.5039, allocations: 1 kB / 0.8187 GB, free: 6.945 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 5.761e-06/0.5039, allocations: 0 / 0.8187 GB, free: 6.945 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.5041, allocations: 64.58 kB / 0.8188 GB, free: 6.922 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 5.62e-06/0.5041, allocations: 0 / 0.8188 GB, free: 6.922 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 1.136e-05/0.5041, allocations: 0.9062 kB / 0.8188 GB, free: 6.922 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 9.346e-05/0.5042, allocations: 38.34 kB / 0.8188 GB, free: 6.91 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.5042, allocations: 0 / 0.8188 GB, free: 6.91 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5042, allocations: 1.062 kB / 0.8188 GB, free: 6.91 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.5042, allocations: 0 / 0.8188 GB, free: 6.91 MB / 0.5763 GB 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.0001927/0.5044, allocations: 319.7 kB / 0.8191 GB, free: 6.559 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 2.88e-05/0.5044, allocations: 13.69 kB / 0.8191 GB, free: 6.555 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.435e-05/0.5044, allocations: 1.969 kB / 0.8191 GB, free: 6.555 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.218e-05/0.5045, allocations: 160.4 kB / 0.8193 GB, free: 6.359 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.926e-06/0.5045, allocations: 384 / 0.8193 GB, free: 6.359 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.562e-06/0.5045, allocations: 4.672 kB / 0.8193 GB, free: 6.359 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.555e-05/0.5045, allocations: 28.23 kB / 0.8193 GB, free: 6.328 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.5046, allocations: 192 / 0.8193 GB, free: 6.328 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.452e-06/0.5046, allocations: 5 kB / 0.8193 GB, free: 6.324 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.166e-06/0.5046, allocations: 7.938 kB / 0.8193 GB, free: 6.316 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.375e-05/0.5046, allocations: 1.125 kB / 0.8193 GB, free: 6.316 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.949e-05/0.5047, allocations: 150.6 kB / 0.8195 GB, free: 6.121 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 2.785e-05/0.5047, allocations: 21.06 kB / 0.8195 GB, free: 6.094 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.16e-05/0.5047, allocations: 9.625 kB / 0.8195 GB, free: 6.086 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005039/0.5052, allocations: 459.5 kB / 0.8199 GB, free: 5.605 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.563e-05/0.5052, allocations: 31.66 kB / 0.82 GB, free: 5.566 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.5052, allocations: 0 / 0.82 GB, free: 5.566 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1): time 9.909e-05/0.5053, allocations: 42.53 kB / 0.82 GB, free: 5.527 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.797e-05/0.5053, allocations: 51.41 kB / 0.8201 GB, free: 5.465 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.392e-05/0.5053, allocations: 89.86 kB / 0.8202 GB, free: 5.367 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 5.69e-06/0.5053, allocations: 29.83 kB / 0.8202 GB, free: 5.332 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 8.045e-06/0.5054, allocations: 85.45 kB / 0.8203 GB, free: 5.246 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 2.292e-05/0.5054, allocations: 3.953 kB / 0.8203 GB, free: 5.242 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.907e-05/0.5054, allocations: 11.53 kB / 0.8203 GB, free: 5.227 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 3.389e-05/0.5054, allocations: 315.9 kB / 0.8206 GB, free: 4.91 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.895e-06/0.5054, allocations: 0.7188 kB / 0.8206 GB, free: 4.91 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.71e-06/0.5054, allocations: 3.844 kB / 0.8206 GB, free: 4.91 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.899e-05/0.5055, allocations: 11.48 kB / 0.8206 GB, free: 4.898 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.5055, allocations: 5.031 kB / 0.8206 GB, free: 4.895 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.828e-05/0.5055, allocations: 34.3 kB / 0.8206 GB, free: 4.859 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.5055, allocations: 5.094 kB / 0.8206 GB, free: 4.859 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.5055, allocations: 4.797 kB / 0.8206 GB, free: 4.855 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.5055, allocations: 3.938 kB / 0.8206 GB, free: 4.852 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.015e-05/0.5056, allocations: 4.844 kB / 0.8207 GB, free: 4.852 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.5056, allocations: 0.625 kB / 0.8207 GB, free: 4.852 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.035e-06/0.5056, allocations: 0.7812 kB / 0.8207 GB, free: 4.852 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.067e-06/0.5056, allocations: 0.5938 kB / 0.8207 GB, free: 4.852 MB / 0.5763 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 (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 3.236e-05/0.5056, allocations: 115 kB / 0.8208 GB, free: 4.73 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.081e-06/0.5056, allocations: 0.5938 kB / 0.8208 GB, free: 4.73 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.219e-05/0.5057, allocations: 48.5 kB / 0.8208 GB, free: 4.688 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.5057, allocations: 0 / 0.8208 GB, free: 4.688 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.5057, allocations: 5.281 kB / 0.8208 GB, free: 4.684 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-06/0.5057, allocations: 0 / 0.8208 GB, free: 4.684 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.823e-05/0.5057, allocations: 142.9 kB / 0.821 GB, free: 4.496 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.5057, allocations: 0 / 0.821 GB, free: 4.496 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.035e-05/0.5057, allocations: 4.453 kB / 0.821 GB, free: 4.496 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.5057, allocations: 5.656 kB / 0.821 GB, free: 4.492 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.659e-06/0.5057, allocations: 3.938 kB / 0.821 GB, free: 4.488 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.5057, allocations: 0 / 0.821 GB, free: 4.488 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.5057, allocations: 1.156 kB / 0.821 GB, free: 4.488 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.165e-05/0.5058, allocations: 58.05 kB / 0.821 GB, free: 4.422 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 1.13e-05/0.5058, allocations: 81.05 kB / 0.8211 GB, free: 4.324 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.696e-06/0.5058, allocations: 4.625 kB / 0.8211 GB, free: 4.32 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.282e-06/0.5058, allocations: 0.875 kB / 0.8211 GB, free: 4.32 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.147e-06/0.5058, allocations: 4.938 kB / 0.8211 GB, free: 4.316 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-06/0.5058, allocations: 0 / 0.8211 GB, free: 4.316 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 9.789e-06/0.5058, allocations: 76.25 kB / 0.8212 GB, free: 4.242 MB / 0.5763 GB Notification: Performance of sort global known variables: time 4e-08/0.5058, allocations: 0 / 0.8212 GB, free: 4.242 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0001986/0.506, allocations: 10.47 kB / 0.8212 GB, free: 4.242 MB / 0.5763 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 (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.0001559/0.5062, allocations: 121.1 kB / 0.8213 GB, free: 4.145 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 5.486e-05/0.5062, allocations: 4.109 kB / 0.8213 GB, free: 4.145 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.5062, allocations: 0.9062 kB / 0.8213 GB, free: 4.145 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 6.492e-06/0.5062, allocations: 1.781 kB / 0.8213 GB, free: 4.145 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001169/0.5064, allocations: 10 kB / 0.8213 GB, free: 4.141 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001317/0.5065, allocations: 108.6 kB / 0.8214 GB, free: 4.012 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.207e-05/0.5066, allocations: 0.6737 MB / 0.8221 GB, free: 3.312 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.909e-06/0.5066, allocations: 12.59 kB / 0.8221 GB, free: 3.301 MB / 0.5763 GB Notification: Performance of SimCode: time 3e-07/0.5066, allocations: 0 / 0.8221 GB, free: 3.301 MB / 0.5763 GB Notification: Performance of Templates: time 0.001704/0.5083, allocations: 0.5498 MB / 0.8226 GB, free: 3.277 MB / 0.5763 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.974389060167596] Failed to read output from testmodel.py, exit status != 0: 0.5152251999825239 0.52515201 0.018315483 Calling exit ...