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.001702/0.001702, 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.002051/0.002051, allocations: 168.6 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.443/1.443, allocations: 177.2 MB / 202.8 MB, free: 9.172 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.002591/0.002591, allocations: 240.7 kB / 259.4 MB, free: 476 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.076/1.076, allocations: 138.4 MB / 454.3 MB, free: 1.992 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.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.213e-06/1.213e-06, allocations: 0 / 0.6468 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.162e-05/2.283e-05, allocations: 2.281 kB / 0.6468 GB, free: 5 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ1): time 0.002578/0.0026, allocations: 1.457 MB / 0.6482 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0005654/0.003166, allocations: 240 kB / 0.6485 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.282e-05/0.003189, allocations: 0 / 0.6485 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.788e-05/0.003216, allocations: 3.938 kB / 0.6485 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.774e-05/0.003254, allocations: 11.88 kB / 0.6485 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003218/0.003576, allocations: 63.75 kB / 0.6485 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.875e-05/0.003645, allocations: 19.92 kB / 0.6486 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.412e-05/0.003719, allocations: 8 kB / 0.6486 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.58e-05/0.003775, allocations: 11.98 kB / 0.6486 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.311e-05/0.003808, allocations: 7.938 kB / 0.6486 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.003818, allocations: 0 / 0.6486 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001428/0.003961, allocations: 59.92 kB / 0.6486 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.495e-05/0.003976, allocations: 8 kB / 0.6486 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.779e-05/0.003994, allocations: 7.922 kB / 0.6487 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001515/0.004145, allocations: 67.78 kB / 0.6487 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.004147, allocations: 4 kB / 0.6487 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of FrontEnd: time 5.81e-07/0.004148, allocations: 0 / 0.6487 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.213e-06/0.004155, allocations: 0 / 0.6487 GB, free: 3.023 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004353/0.00459, allocations: 262.3 kB / 0.649 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.004623, allocations: 9.344 kB / 0.649 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.607e-05/0.004649, allocations: 8.891 kB / 0.649 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.004759, allocations: 109.7 kB / 0.6491 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.004773, allocations: 12.34 kB / 0.6491 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.004783, allocations: 384 / 0.6491 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.004949, allocations: 50.25 kB / 0.6492 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.004958, allocations: 192 / 0.6492 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.393e-06/0.004965, allocations: 384 / 0.6492 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.206e-06/0.004968, allocations: 384 / 0.6492 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001888/0.005157, allocations: 43.83 kB / 0.6492 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002843/0.005441, allocations: 192.6 kB / 0.6494 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.005566, allocations: 30.56 kB / 0.6494 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.03e-05/0.005657, allocations: 24.91 kB / 0.6494 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004781/0.006135, allocations: 75.91 kB / 0.6495 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.006162, allocations: 38.5 kB / 0.6495 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.006164, allocations: 0 / 0.6495 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003867/0.00655, allocations: 93.53 kB / 0.6496 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.006586, allocations: 51.41 kB / 0.6497 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.501e-05/0.006661, allocations: 93.86 kB / 0.6498 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.006683, allocations: 25.7 kB / 0.6498 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.09e-05/0.006734, allocations: 92.12 kB / 0.6499 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.365e-05/0.006747, allocations: 3.953 kB / 0.6499 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.992e-05/0.006777, allocations: 9.719 kB / 0.6499 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.006922, allocations: 322.8 kB / 0.6502 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.823e-05/0.00701, allocations: 16.11 kB / 0.6502 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.496e-05/0.007095, allocations: 19.97 kB / 0.6502 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000162/0.007257, allocations: 40.77 kB / 0.6503 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.007259, allocations: 3.938 kB / 0.6503 GB, free: 1.258 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002052/0.007464, allocations: 65.75 kB / 0.6503 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.007475, allocations: 8 kB / 0.6504 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.00748, allocations: 3.938 kB / 0.6504 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.391e-05/0.007504, allocations: 0 / 0.6504 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.834e-05/0.007582, allocations: 11.98 kB / 0.6504 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.007586, allocations: 0 / 0.6504 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.801e-05/0.007634, allocations: 4 kB / 0.6504 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.007638, allocations: 0 / 0.6504 GB, free: 1.16 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 (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 8.891e-05/0.007727, allocations: 117.8 kB / 0.6505 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.348e-05/0.007751, allocations: 0 / 0.6505 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002335/0.007984, allocations: 76.84 kB / 0.6506 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.007986, allocations: 4 kB / 0.6506 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.007989, allocations: 0 / 0.6506 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.007991, allocations: 0 / 0.6506 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001397/0.008131, allocations: 105.3 kB / 0.6507 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.008132, allocations: 0 / 0.6507 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.055e-05/0.008193, allocations: 12 kB / 0.6507 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.008194, allocations: 0 / 0.6507 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-06/0.0082, allocations: 32 / 0.6507 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.582e-06/0.008206, allocations: 11.92 kB / 0.6507 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.008207, allocations: 0 / 0.6507 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002592/0.008466, allocations: 167.4 kB / 0.6508 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.69e-06/0.008472, allocations: 0 / 0.6508 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.071e-05/0.008482, allocations: 4 kB / 0.6508 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.779e-05/0.00857, allocations: 7.938 kB / 0.6509 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.227e-05/0.008603, allocations: 4.172 kB / 0.6509 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.145e-06/0.008606, allocations: 0 / 0.6509 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.025e-05/0.008656, allocations: 91.3 kB / 0.6509 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.008656, allocations: 0 / 0.6509 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000243/0.008899, allocations: 15.94 kB / 0.651 GB, free: 0.4922 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 (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.0001974/0.009096, allocations: 127.1 kB / 0.6511 GB, free: 364 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002141/0.00931, allocations: 39.95 kB / 0.6511 GB, free: 324 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.009312, allocations: 0 / 0.6511 GB, free: 324 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.311e-05/0.009405, allocations: 23.92 kB / 0.6511 GB, free: 300 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.009621, allocations: 0 / 0.6511 GB, free: 300 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002553/0.009877, allocations: 104.8 kB / 0.6512 GB, free: 168 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.361e-05/0.00994, allocations: 59.34 kB / 0.6513 GB, free: 88 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.988e-05/0.00996, allocations: 4 kB / 0.6513 GB, free: 84 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.338e-05/0.009983, allocations: 12.62 kB / 0.6513 GB, free: 68 kB / 0.5606 GB Notification: Performance of SimCode: time 4.11e-07/0.009984, allocations: 3.938 kB / 0.6513 GB, free: 64 kB / 0.5606 GB Notification: Performance of Templates: time 0.2369/0.2468, allocations: 0.6833 MB / 0.652 GB, free: 56.89 MB / 0.5606 GB " [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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.737148839980364] Failed to read output from testmodel.py, exit status != 0: 0.2543424405157566 0.263537181 0.257189997 Calling exit ...