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.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.001734/0.001734, allocations: 78.41 kB / 19.18 MB, free: 2.531 MB / 14.72 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.002166/0.002166, allocations: 169.9 kB / 22.46 MB, free: 5.363 MB / 14.72 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.437/1.437, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002679/0.002679, allocations: 245.3 kB / 259.4 MB, free: 468 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.063/1.063, allocations: 138.4 MB / 454.3 MB, free: 1.973 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.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 1.363e-06/1.363e-06, allocations: 0 / 0.6468 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.052e-05/2.188e-05, allocations: 2.281 kB / 0.6468 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1): time 0.001533/0.001555, allocations: 0.5964 MB / 0.6474 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004439/0.001999, allocations: 184.6 kB / 0.6476 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.658e-06/0.002008, allocations: 0 / 0.6476 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.411e-05/0.002023, allocations: 0 / 0.6476 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.2e-06/0.002028, allocations: 3.938 kB / 0.6476 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003605/0.002388, allocations: 55.81 kB / 0.6477 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 2.943e-05/0.002418, allocations: 3.938 kB / 0.6477 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.576e-05/0.002463, allocations: 0 / 0.6477 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.697e-05/0.00249, allocations: 0 / 0.6477 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 2.384e-05/0.002514, allocations: 15.92 kB / 0.6477 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.868e-06/0.002524, allocations: 0 / 0.6477 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001599/0.002684, allocations: 51.95 kB / 0.6477 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.947e-06/0.002693, allocations: 0 / 0.6477 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.117e-05/0.002704, allocations: 7.938 kB / 0.6477 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.002821, allocations: 39.92 kB / 0.6478 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.002823, allocations: 0 / 0.6478 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of FrontEnd: time 4.81e-07/0.002823, allocations: 0 / 0.6478 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.714e-06/0.002831, allocations: 0 / 0.6478 GB, free: 4.012 MB / 0.5606 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.0002963/0.003127, allocations: 250.3 kB / 0.648 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.00316, allocations: 9.344 kB / 0.648 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.595e-05/0.003186, allocations: 4.938 kB / 0.648 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.553e-05/0.003282, allocations: 109.7 kB / 0.6481 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.213e-06/0.003289, allocations: 384 / 0.6481 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.003298, allocations: 384 / 0.6481 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.766e-05/0.003386, allocations: 30.27 kB / 0.6482 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.003394, allocations: 192 / 0.6482 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.003402, allocations: 4.359 kB / 0.6482 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.003406, allocations: 384 / 0.6482 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.74e-05/0.003423, allocations: 3.938 kB / 0.6482 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000146/0.003569, allocations: 105.3 kB / 0.6483 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.956e-05/0.003609, allocations: 22.52 kB / 0.6483 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.552e-05/0.003624, allocations: 4.859 kB / 0.6483 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005647/0.004189, allocations: 84 kB / 0.6484 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.004219, allocations: 30.56 kB / 0.6484 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.00422, allocations: 0 / 0.6484 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001665/0.004387, allocations: 33.7 kB / 0.6484 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.004425, allocations: 51.41 kB / 0.6485 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.66e-05/0.004481, allocations: 89.86 kB / 0.6486 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.004497, allocations: 29.7 kB / 0.6486 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.076e-05/0.004538, allocations: 84.08 kB / 0.6487 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.818e-05/0.004566, allocations: 4 kB / 0.6487 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.798e-05/0.004594, allocations: 13.7 kB / 0.6487 GB, free: 2.91 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.004741, allocations: 318.8 kB / 0.649 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.025e-06/0.004749, allocations: 0 / 0.649 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.889e-06/0.004753, allocations: 3.938 kB / 0.649 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.961e-05/0.004783, allocations: 13.05 kB / 0.649 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.004785, allocations: 0 / 0.649 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.369e-05/0.004838, allocations: 33.7 kB / 0.6491 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.004851, allocations: 11.94 kB / 0.6491 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.004855, allocations: 0 / 0.6491 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.004866, allocations: 0 / 0.6491 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.852e-05/0.004904, allocations: 7.922 kB / 0.6491 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.004908, allocations: 0 / 0.6491 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.563e-05/0.004943, allocations: 3.938 kB / 0.6491 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.004949, allocations: 4 kB / 0.6491 GB, free: 2.504 MB / 0.5606 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 7.098e-05/0.00502, allocations: 109.9 kB / 0.6492 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.202e-06/0.005026, allocations: 0 / 0.6492 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.399e-05/0.0051, allocations: 36.69 kB / 0.6492 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.005102, allocations: 0 / 0.6492 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.005104, allocations: 0 / 0.6492 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.005106, allocations: 4 kB / 0.6492 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.005255, allocations: 101.3 kB / 0.6493 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.005258, allocations: 4 kB / 0.6493 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.1e-05/0.005269, allocations: 0 / 0.6493 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.005273, allocations: 4 kB / 0.6493 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.421e-06/0.005278, allocations: 4.031 kB / 0.6493 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.005279, allocations: 0 / 0.6493 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.00528, allocations: 0 / 0.6493 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.767e-05/0.005357, allocations: 68.95 kB / 0.6494 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.296e-06/0.00536, allocations: 0 / 0.6494 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.654e-06/0.005368, allocations: 0 / 0.6494 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.703e-06/0.005375, allocations: 0 / 0.6494 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.517e-06/0.005384, allocations: 0 / 0.6494 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.005389, allocations: 4 kB / 0.6494 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.212e-05/0.005431, allocations: 75.28 kB / 0.6495 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.005431, allocations: 32 / 0.6495 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002025/0.005633, allocations: 23.92 kB / 0.6495 GB, free: 2.012 MB / 0.5606 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.0001926/0.005826, allocations: 119.2 kB / 0.6496 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.426e-05/0.00589, allocations: 7.938 kB / 0.6496 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.005892, allocations: 3.938 kB / 0.6496 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.257e-06/0.005901, allocations: 8.047 kB / 0.6496 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001246/0.006026, allocations: 10.59 kB / 0.6496 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001915/0.006217, allocations: 76.92 kB / 0.6497 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.1e-05/0.006268, allocations: 55.36 kB / 0.6498 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.626e-06/0.006277, allocations: 0 / 0.6498 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.402e-05/0.006291, allocations: 8.5 kB / 0.6498 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of SimCode: time 6.21e-07/0.006291, allocations: 0 / 0.6498 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of Templates: time 0.002715/0.009007, allocations: 436.5 kB / 0.6502 GB, free: 1.246 MB / 0.5606 GB " [Timeout remaining time 660] 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: 5.656185112893581] Failed to read output from testmodel.py, exit status != 0: 0.26461976394057274 0.273613882 0.26862780999999997 Calling exit ...