Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0") translateModel(BuildingSystems.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 105.6 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009508/0.0009508, allocations: 192.3 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.22/1.22, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00205/0.00205, allocations: 293.7 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8856/0.8856, allocations: 169.3 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001683/0.001683, allocations: 95.84 kB / 0.6821 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.3546, allocations: 86.96 MB / 0.7671 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ0): time 0.002222/0.3569, allocations: 1.434 MB / 0.7685 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004428/0.3573, allocations: 244.1 kB / 0.7687 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.602e-05/0.3573, allocations: 4 kB / 0.7687 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.263e-05/0.3574, allocations: 3.984 kB / 0.7687 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.477e-05/0.3574, allocations: 3.938 kB / 0.7687 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000301/0.3577, allocations: 55.83 kB / 0.7688 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.16e-05/0.3578, allocations: 16 kB / 0.7688 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.33e-05/0.3579, allocations: 11.97 kB / 0.7688 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.709e-05/0.3579, allocations: 7.938 kB / 0.7688 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.467e-05/0.3579, allocations: 15.92 kB / 0.7688 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.646e-06/0.358, allocations: 4 kB / 0.7688 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.3581, allocations: 55.95 kB / 0.7689 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.007e-06/0.3581, allocations: 3.984 kB / 0.7689 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.157e-05/0.3581, allocations: 11.94 kB / 0.7689 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.3583, allocations: 51.86 kB / 0.7689 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.3583, allocations: 0 / 0.7689 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.233e-06/0.3583, allocations: 3.938 kB / 0.7689 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.3583, allocations: 0 / 0.7689 GB, free: 1.969 MB / 0.5294 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.0003907/0.3587, allocations: 347.1 kB / 0.7693 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.3587, allocations: 12.03 kB / 0.7693 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.61e-05/0.3588, allocations: 4.938 kB / 0.7693 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.899e-05/0.3589, allocations: 164.4 kB / 0.7694 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.3589, allocations: 384 / 0.7694 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.3589, allocations: 4.375 kB / 0.7694 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.3591, allocations: 46.23 kB / 0.7695 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.3591, allocations: 4.188 kB / 0.7695 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.138e-06/0.3591, allocations: 7.875 kB / 0.7695 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.3591, allocations: 0 / 0.7695 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001578/0.3593, allocations: 31.97 kB / 0.7695 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002672/0.3595, allocations: 252.8 kB / 0.7698 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.3597, allocations: 42.5 kB / 0.7698 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.62e-05/0.3598, allocations: 20.91 kB / 0.7698 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005732/0.3603, allocations: 461.4 kB / 0.7703 GB, free: 364 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.3604, allocations: 30.56 kB / 0.7703 GB, free: 324 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.3604, allocations: 0 / 0.7703 GB, free: 324 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003236/0.3607, allocations: 89.58 kB / 0.7704 GB, free: 228 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.048e-05/0.3607, allocations: 51.41 kB / 0.7704 GB, free: 164 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.71e-05/0.3608, allocations: 101.8 kB / 0.7705 GB, free: 52 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.3608, allocations: 25.7 kB / 0.7705 GB, free: 20 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.245e-05/0.3609, allocations: 80.14 kB / 0.7706 GB, free: 15.94 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.584e-05/0.3609, allocations: 14.42 kB / 0.7706 GB, free: 15.93 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.379e-05/0.3609, allocations: 13.84 kB / 0.7707 GB, free: 15.91 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.839e-05/0.361, allocations: 314.8 kB / 0.771 GB, free: 15.59 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.219e-05/0.3611, allocations: 23.97 kB / 0.771 GB, free: 15.57 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.883e-05/0.3612, allocations: 11.98 kB / 0.771 GB, free: 15.55 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.3613, allocations: 36.83 kB / 0.771 GB, free: 15.52 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3613, allocations: 64 / 0.771 GB, free: 15.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001915/0.3615, allocations: 77.53 kB / 0.7711 GB, free: 15.43 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.3616, allocations: 4 kB / 0.7711 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.3616, allocations: 3.984 kB / 0.7711 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.177e-06/0.3616, allocations: 0 / 0.7711 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.813e-05/0.3617, allocations: 15.98 kB / 0.7711 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.3617, allocations: 0 / 0.7711 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.746e-05/0.3617, allocations: 11.98 kB / 0.7711 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.3617, allocations: 4.031 kB / 0.7711 GB, free: 15.39 MB / 0.545 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 5.539e-05/0.3618, allocations: 108.2 kB / 0.7712 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.3618, allocations: 8.125 kB / 0.7712 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002128/0.362, allocations: 72.72 kB / 0.7713 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.3621, allocations: 3.984 kB / 0.7713 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.3621, allocations: 0 / 0.7713 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.874e-05/0.3621, allocations: 81.02 kB / 0.7714 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.3621, allocations: 8.031 kB / 0.7714 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.346e-05/0.3622, allocations: 3.984 kB / 0.7714 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.077e-05/0.3622, allocations: 4 kB / 0.7714 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002473/0.3625, allocations: 148.9 kB / 0.7716 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002438/0.3627, allocations: 242.8 kB / 0.7718 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.279e-05/0.3628, allocations: 15.98 kB / 0.7718 GB, free: 14.66 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.218e-05/0.3629, allocations: 79.28 kB / 0.7719 GB, free: 14.58 MB / 0.545 GB Notification: Performance of Backend: time 2.4e-07/0.3629, allocations: 7.875 kB / 0.7719 GB, free: 14.57 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004409/0.3633, allocations: 124.1 kB / 0.772 GB, free: 14.45 MB / 0.545 GB Notification: Performance of SimCode: time 0.0003377/0.3637, allocations: 0.5494 MB / 0.7725 GB, free: 13.84 MB / 0.545 GB Notification: Performance of Templates: time 0.002475/0.3662, allocations: 0.758 MB / 0.7733 GB, free: 13.09 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe 2>&1)