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.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.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1") translateModel(BuildingSystems.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001188, allocations: 112.9 kB / 16.42 MB, free: 6.445 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.001139/0.001139, allocations: 189.5 kB / 17.35 MB, free: 5.715 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.206/1.206, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001995/0.001995, allocations: 286.1 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.8719/0.8719, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001673/0.001673, allocations: 103.8 kB / 0.6821 GB, free: 6.992 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3636/0.3652, allocations: 86.97 MB / 0.7671 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ1): time 0.002263/0.3675, allocations: 1.43 MB / 0.7685 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004792/0.368, allocations: 256 kB / 0.7687 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.332e-05/0.3681, allocations: 0 / 0.7687 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.571e-05/0.3681, allocations: 3.984 kB / 0.7687 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.368e-05/0.3681, allocations: 7.938 kB / 0.7687 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003223/0.3685, allocations: 63.81 kB / 0.7688 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.213e-05/0.3685, allocations: 23.92 kB / 0.7688 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.37e-05/0.3686, allocations: 4 kB / 0.7688 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.293e-05/0.3687, allocations: 7.938 kB / 0.7688 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.436e-05/0.3687, allocations: 11.98 kB / 0.7688 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.165e-06/0.3687, allocations: 0 / 0.7688 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001321/0.3688, allocations: 67.92 kB / 0.7689 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.698e-06/0.3689, allocations: 3.938 kB / 0.7689 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.839e-05/0.3689, allocations: 4 kB / 0.7689 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.369, allocations: 67.78 kB / 0.769 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.369, allocations: 0 / 0.769 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.142e-06/0.369, allocations: 0 / 0.769 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.369, allocations: 4 kB / 0.769 GB, free: 2.016 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.0004038/0.3695, allocations: 343.1 kB / 0.7693 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.3695, allocations: 8.031 kB / 0.7693 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.896e-05/0.3695, allocations: 0.9375 kB / 0.7693 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.854e-05/0.3696, allocations: 160.4 kB / 0.7694 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.3697, allocations: 8.375 kB / 0.7695 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.805e-06/0.3697, allocations: 384 / 0.7695 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.3698, allocations: 50.23 kB / 0.7695 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.3698, allocations: 192 / 0.7695 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.3699, allocations: 3.938 kB / 0.7695 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-06/0.3699, allocations: 0 / 0.7695 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001626/0.37, allocations: 39.89 kB / 0.7695 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002808/0.3703, allocations: 248.8 kB / 0.7698 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/0.3705, allocations: 46.47 kB / 0.7698 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.685e-05/0.3705, allocations: 20.91 kB / 0.7698 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006299/0.3712, allocations: 461.5 kB / 0.7703 GB, free: 420 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.3712, allocations: 38.5 kB / 0.7703 GB, free: 372 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.392e-06/0.3712, allocations: 3.938 kB / 0.7703 GB, free: 368 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003525/0.3716, allocations: 81.64 kB / 0.7704 GB, free: 280 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.156e-05/0.3716, allocations: 55.53 kB / 0.7705 GB, free: 212 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.334e-05/0.3717, allocations: 97.86 kB / 0.7706 GB, free: 104 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/0.3717, allocations: 25.7 kB / 0.7706 GB, free: 72 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.357e-05/0.3718, allocations: 84.12 kB / 0.7707 GB, free: 15.98 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.697e-05/0.3718, allocations: 10.44 kB / 0.7707 GB, free: 15.98 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.981e-05/0.3718, allocations: 13.72 kB / 0.7707 GB, free: 15.96 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.278e-05/0.3719, allocations: 314.8 kB / 0.771 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.344e-05/0.372, allocations: 19.98 kB / 0.771 GB, free: 15.62 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.27e-05/0.3721, allocations: 15.97 kB / 0.771 GB, free: 15.61 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/0.3722, allocations: 40.77 kB / 0.7711 GB, free: 15.56 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3723, allocations: 0 / 0.7711 GB, free: 15.56 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001889/0.3724, allocations: 69.59 kB / 0.7711 GB, free: 15.49 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.3725, allocations: 8.094 kB / 0.7711 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3725, allocations: 0 / 0.7711 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.3725, allocations: 0 / 0.7711 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.996e-05/0.3726, allocations: 11.98 kB / 0.7711 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.3726, allocations: 0 / 0.7711 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.724e-05/0.3726, allocations: 8.188 kB / 0.7711 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.3727, allocations: 0 / 0.7711 GB, free: 15.46 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 7.111e-05/0.3727, allocations: 109.8 kB / 0.7713 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.3728, allocations: 15.92 kB / 0.7713 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002134/0.373, allocations: 72.72 kB / 0.7713 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.373, allocations: 0 / 0.7713 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.373, allocations: 0 / 0.7713 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.128e-05/0.373, allocations: 81.02 kB / 0.7714 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.373, allocations: 4 kB / 0.7714 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.403e-05/0.3731, allocations: 7.984 kB / 0.7714 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.569e-05/0.3732, allocations: 32 / 0.7714 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000239/0.3734, allocations: 156.8 kB / 0.7716 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002466/0.3737, allocations: 230.8 kB / 0.7718 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.233e-05/0.3738, allocations: 27.97 kB / 0.7718 GB, free: 14.71 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.606e-05/0.3738, allocations: 79.28 kB / 0.7719 GB, free: 14.64 MB / 0.545 GB Notification: Performance of Backend: time 1.9e-07/0.3738, allocations: 0 / 0.7719 GB, free: 14.64 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004491/0.3743, allocations: 126.5 kB / 0.772 GB, free: 14.51 MB / 0.545 GB Notification: Performance of SimCode: time 0.0003541/0.3746, allocations: 0.5494 MB / 0.7726 GB, free: 13.91 MB / 0.545 GB Notification: Performance of Templates: time 0.002767/0.3774, allocations: 0.7561 MB / 0.7733 GB, free: 13.15 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.makefile (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)