Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 108.5 kB / 16.41 MB, free: 6.406 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.001131/0.001131, allocations: 192.3 kB / 17.35 MB, free: 5.691 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.239/1.239, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002026/0.002026, allocations: 287 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8896/0.8896, 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: 99.84 kB / 0.6822 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3628, allocations: 86.98 MB / 0.7671 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0): time 0.001661/0.3645, allocations: 0.574 MB / 0.7677 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004431/0.3649, allocations: 191.4 kB / 0.7678 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.097e-05/0.365, allocations: 0 / 0.7678 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.2e-05/0.365, allocations: 3.938 kB / 0.7678 GB, free: 3.137 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.755e-06/0.365, allocations: 3.938 kB / 0.7679 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003436/0.3654, allocations: 43.91 kB / 0.7679 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 3.642e-05/0.3654, allocations: 4 kB / 0.7679 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.533e-05/0.3655, allocations: 0 / 0.7679 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.133e-05/0.3655, allocations: 4 kB / 0.7679 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 1.783e-05/0.3655, allocations: 0 / 0.7679 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.571e-06/0.3655, allocations: 3.938 kB / 0.7679 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001523/0.3657, allocations: 63.92 kB / 0.768 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.602e-06/0.3657, allocations: 0 / 0.768 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.271e-05/0.3657, allocations: 0 / 0.768 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.3658, allocations: 31.94 kB / 0.768 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3658, allocations: 0 / 0.768 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3658, allocations: 0 / 0.768 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.211e-05/0.3658, allocations: 0 / 0.768 GB, free: 2.984 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002982/0.3662, allocations: 331.5 kB / 0.7683 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.3662, allocations: 11.97 kB / 0.7683 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.337e-05/0.3662, allocations: 0.9375 kB / 0.7683 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.66e-05/0.3663, allocations: 160.4 kB / 0.7685 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.948e-06/0.3663, allocations: 4.312 kB / 0.7685 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.175e-06/0.3663, allocations: 384 / 0.7685 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.803e-05/0.3664, allocations: 30.27 kB / 0.7685 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.71e-06/0.3664, allocations: 192 / 0.7685 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.3664, allocations: 3.938 kB / 0.7685 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.3665, allocations: 0 / 0.7685 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.587e-05/0.3665, allocations: 4 kB / 0.7685 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001329/0.3666, allocations: 153.7 kB / 0.7687 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.423e-05/0.3667, allocations: 22.52 kB / 0.7687 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.569e-05/0.3667, allocations: 8.953 kB / 0.7687 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007118/0.3674, allocations: 453.5 kB / 0.7691 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.3674, allocations: 34.56 kB / 0.7692 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.282e-06/0.3674, allocations: 0 / 0.7692 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001145/0.3676, allocations: 37.64 kB / 0.7692 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.3676, allocations: 55.34 kB / 0.7692 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.048e-05/0.3676, allocations: 89.86 kB / 0.7693 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.3676, allocations: 25.7 kB / 0.7694 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.715e-05/0.3677, allocations: 84.27 kB / 0.7694 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.3677, allocations: 3.906 kB / 0.7694 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.827e-05/0.3677, allocations: 17.72 kB / 0.7695 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.3678, allocations: 314.8 kB / 0.7698 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.945e-06/0.3679, allocations: 0 / 0.7698 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.56e-06/0.3679, allocations: 0 / 0.7698 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.492e-05/0.3679, allocations: 8.859 kB / 0.7698 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.3679, allocations: 4.062 kB / 0.7698 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.073e-05/0.368, allocations: 33.69 kB / 0.7698 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.368, allocations: 8 kB / 0.7698 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.368, allocations: 3.938 kB / 0.7698 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.368, allocations: 3.938 kB / 0.7698 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.442e-05/0.368, allocations: 0 / 0.7698 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.3681, allocations: 4 kB / 0.7698 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.091e-05/0.3681, allocations: 3.984 kB / 0.7698 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-06/0.3681, allocations: 4 kB / 0.7698 GB, free: 0.7852 MB / 0.5294 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 6.408e-05/0.3681, allocations: 117.5 kB / 0.7699 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.432e-06/0.3682, allocations: 0 / 0.7699 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.567e-05/0.3682, allocations: 32.83 kB / 0.77 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.3682, allocations: 7.875 kB / 0.77 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.3682, allocations: 0 / 0.77 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.144e-05/0.3683, allocations: 85.03 kB / 0.7701 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.376e-06/0.3683, allocations: 4 kB / 0.7701 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.374e-06/0.3683, allocations: 0 / 0.7701 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.717e-06/0.3683, allocations: 0 / 0.7701 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 6.54e-05/0.3684, allocations: 117 kB / 0.7702 GB, free: 404 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001012/0.3685, allocations: 206.8 kB / 0.7704 GB, free: 180 kB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.354e-05/0.3685, allocations: 4 kB / 0.7704 GB, free: 176 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 2.382e-05/0.3685, allocations: 75.28 kB / 0.7705 GB, free: 100 kB / 0.5294 GB Notification: Performance of Backend: time 3.91e-07/0.3685, allocations: 3.938 kB / 0.7705 GB, free: 96 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004012/0.369, allocations: 102.5 kB / 0.7706 GB, free: 15.98 MB / 0.545 GB Notification: Performance of SimCode: time 0.0002978/0.3693, allocations: 0.5215 MB / 0.7711 GB, free: 15.41 MB / 0.545 GB Notification: Performance of Templates: time 0.002197/0.3715, allocations: 446.3 kB / 0.7715 GB, free: 14.98 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)