Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.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.001434/0.001434, allocations: 116.4 kB / 17.13 MB, free: 5.781 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.001481/0.001481, allocations: 194.1 kB / 20.08 MB, free: 2.871 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.358/1.358, allocations: 225.6 MB / 248.5 MB, free: 3.621 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.00232/0.00232, allocations: 293.4 kB / 303.6 MB, free: 3.734 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.007/1.007, allocations: 180.9 MB / 0.5268 GB, free: 2.73 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.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00266/0.00266, allocations: 99.84 kB / 0.726 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.489/0.4917, allocations: 94.16 MB / 0.8179 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1): time 0.001509/0.4932, allocations: 0.5837 MB / 0.8185 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0004046/0.4936, allocations: 197.7 kB / 0.8187 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.216e-05/0.4936, allocations: 0.9688 kB / 0.8187 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2e-05/0.4936, allocations: 0 / 0.8187 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.73e-06/0.4936, allocations: 0 / 0.8187 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003445/0.494, allocations: 59.22 kB / 0.8187 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 3.729e-05/0.494, allocations: 2.062 kB / 0.8187 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.943e-05/0.494, allocations: 1.125 kB / 0.8187 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.203e-05/0.494, allocations: 4 kB / 0.8187 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 1.977e-05/0.4941, allocations: 0.9688 kB / 0.8187 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.292e-06/0.4941, allocations: 0 / 0.8187 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001565/0.4942, allocations: 64.09 kB / 0.8188 GB, free: 7.102 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.556e-06/0.4942, allocations: 3.984 kB / 0.8188 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.407e-05/0.4942, allocations: 0.9688 kB / 0.8188 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001083/0.4944, allocations: 33.34 kB / 0.8188 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.4944, allocations: 1 kB / 0.8188 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.152e-06/0.4944, allocations: 0 / 0.8188 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.4944, allocations: 0 / 0.8188 GB, free: 7.09 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002285/0.4946, allocations: 329.3 kB / 0.8191 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.4946, allocations: 8.844 kB / 0.8192 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.659e-05/0.4947, allocations: 2.531 kB / 0.8192 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.587e-05/0.4947, allocations: 161 kB / 0.8193 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.4947, allocations: 384 / 0.8193 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.773e-06/0.4947, allocations: 5.656 kB / 0.8193 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.491e-05/0.4948, allocations: 32.77 kB / 0.8193 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.4948, allocations: 192 / 0.8193 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-06/0.4948, allocations: 4.812 kB / 0.8194 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.4948, allocations: 0 / 0.8194 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.691e-05/0.4948, allocations: 9.922 kB / 0.8194 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.022e-05/0.4949, allocations: 146.3 kB / 0.8195 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 2.784e-05/0.4949, allocations: 16.64 kB / 0.8195 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.354e-05/0.495, allocations: 13.77 kB / 0.8195 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005914/0.4955, allocations: 461 kB / 0.82 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.758e-05/0.4956, allocations: 31.86 kB / 0.82 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.4956, allocations: 0 / 0.82 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001121/0.4957, allocations: 40.02 kB / 0.82 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.139e-05/0.4957, allocations: 56.38 kB / 0.8201 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.704e-05/0.4957, allocations: 90.56 kB / 0.8202 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.002e-06/0.4957, allocations: 29.83 kB / 0.8202 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 1.047e-05/0.4957, allocations: 84.78 kB / 0.8203 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.337e-05/0.4958, allocations: 8.734 kB / 0.8203 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.236e-05/0.4958, allocations: 12.05 kB / 0.8203 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.716e-05/0.4958, allocations: 312.4 kB / 0.8206 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.04e-05/0.4958, allocations: 7.219 kB / 0.8206 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.18e-06/0.4959, allocations: 1.688 kB / 0.8206 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.239e-05/0.4959, allocations: 12.02 kB / 0.8206 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.4959, allocations: 4 kB / 0.8206 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.931e-05/0.4959, allocations: 30.58 kB / 0.8207 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.4959, allocations: 4.969 kB / 0.8207 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.4959, allocations: 0.8438 kB / 0.8207 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.4959, allocations: 3.938 kB / 0.8207 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.447e-05/0.496, allocations: 5.094 kB / 0.8207 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.748e-06/0.496, allocations: 0.5938 kB / 0.8207 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.436e-06/0.496, allocations: 0 / 0.8207 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-06/0.496, allocations: 4.562 kB / 0.8207 GB, free: 5.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 (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.602e-05/0.496, allocations: 115.1 kB / 0.8208 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.39e-06/0.496, allocations: 1 kB / 0.8208 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.002e-05/0.4961, allocations: 44.66 kB / 0.8208 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.4961, allocations: 0 / 0.8208 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.4961, allocations: 5.156 kB / 0.8208 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.4961, allocations: 0 / 0.8208 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.617e-05/0.4962, allocations: 142.8 kB / 0.821 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.4962, allocations: 0 / 0.821 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.135e-05/0.4962, allocations: 4.984 kB / 0.821 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.4962, allocations: 4.781 kB / 0.821 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/0.4962, allocations: 5 kB / 0.821 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.4962, allocations: 0 / 0.821 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.4962, allocations: 0 / 0.821 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.54e-05/0.4962, allocations: 59.11 kB / 0.821 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.629e-05/0.4962, allocations: 81.86 kB / 0.8211 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.318e-06/0.4962, allocations: 4.719 kB / 0.8211 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.745e-06/0.4963, allocations: 4.031 kB / 0.8211 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.033e-05/0.4963, allocations: 1.531 kB / 0.8211 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-06/0.4963, allocations: 0 / 0.8211 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 1.24e-05/0.4963, allocations: 76.22 kB / 0.8212 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.4963, allocations: 0 / 0.8212 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002182/0.4965, allocations: 10.5 kB / 0.8212 GB, free: 4.414 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 (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.0001733/0.4967, allocations: 121.9 kB / 0.8213 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.226e-05/0.4967, allocations: 11.88 kB / 0.8213 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.4967, allocations: 0 / 0.8213 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.753e-06/0.4967, allocations: 5.656 kB / 0.8213 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001203/0.4969, allocations: 5.188 kB / 0.8214 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000152/0.497, allocations: 106.4 kB / 0.8215 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.388e-05/0.4971, allocations: 0.6702 MB / 0.8221 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.168e-05/0.4971, allocations: 12.5 kB / 0.8221 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.4971, allocations: 0 / 0.8221 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of Templates: time 0.00187/0.499, allocations: 0.5596 MB / 0.8227 GB, free: 3.441 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.027413443895057] Failed to read output from testmodel.py, exit status != 0: 0.5060173408128321 0.5164128130000001 0.019367154 Calling exit ...