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.0009479/0.000948, allocations: 111.3 kB / 16.42 MB, free: 6.461 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.0009758/0.0009758, 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.232/1.232, allocations: 222.9 MB / 241.1 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.002021/0.002021, allocations: 288.2 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8793/0.8793, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00178/0.00178, allocations: 99.86 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3613, allocations: 86.97 MB / 0.7671 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ0): time 0.00217/0.3635, allocations: 1.43 MB / 0.7685 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004429/0.364, allocations: 248.1 kB / 0.7687 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.399e-05/0.364, allocations: 0 / 0.7687 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.245e-05/0.364, allocations: 3.938 kB / 0.7687 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.435e-05/0.3641, allocations: 4 kB / 0.7687 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002901/0.3644, allocations: 55.83 kB / 0.7688 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.819e-05/0.3644, allocations: 23.92 kB / 0.7688 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.927e-05/0.3645, allocations: 8 kB / 0.7688 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.522e-05/0.3646, allocations: 15.91 kB / 0.7688 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.282e-05/0.3646, allocations: 8 kB / 0.7688 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.376e-06/0.3646, allocations: 0 / 0.7688 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001307/0.3647, allocations: 63.88 kB / 0.7689 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.076e-05/0.3648, allocations: 0 / 0.7689 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.471e-05/0.3648, allocations: 15.92 kB / 0.7689 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.3649, allocations: 51.86 kB / 0.7689 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.3649, allocations: 0 / 0.7689 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3649, allocations: 4 kB / 0.7689 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.014e-06/0.3649, allocations: 0 / 0.7689 GB, free: 1.961 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.0003844/0.3653, allocations: 343.1 kB / 0.7693 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.069e-05/0.3654, allocations: 8.031 kB / 0.7693 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.804e-05/0.3654, allocations: 12.88 kB / 0.7693 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.122e-05/0.3655, allocations: 160.4 kB / 0.7694 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.3655, allocations: 384 / 0.7694 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.3655, allocations: 384 / 0.7694 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.3657, allocations: 58.17 kB / 0.7695 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-06/0.3657, allocations: 192 / 0.7695 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-06/0.3657, allocations: 3.938 kB / 0.7695 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.3657, allocations: 4 kB / 0.7695 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000154/0.3659, allocations: 31.95 kB / 0.7695 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002596/0.3662, allocations: 244.8 kB / 0.7698 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/0.3663, allocations: 54.45 kB / 0.7698 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.005e-05/0.3664, allocations: 28.84 kB / 0.7698 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000554/0.3669, allocations: 449.5 kB / 0.7703 GB, free: 356 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.367, allocations: 38.56 kB / 0.7703 GB, free: 308 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.041e-06/0.367, allocations: 0 / 0.7703 GB, free: 308 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003158/0.3673, allocations: 77.64 kB / 0.7704 GB, free: 224 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/0.3673, allocations: 51.41 kB / 0.7704 GB, free: 160 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.22e-05/0.3674, allocations: 101.9 kB / 0.7705 GB, free: 48 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.3674, allocations: 29.83 kB / 0.7706 GB, free: 12 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.843e-05/0.3675, allocations: 80.14 kB / 0.7706 GB, free: 15.93 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.713e-05/0.3675, allocations: 10.42 kB / 0.7706 GB, free: 15.92 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.893e-05/0.3675, allocations: 21.66 kB / 0.7707 GB, free: 15.89 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.739e-05/0.3676, allocations: 310.8 kB / 0.771 GB, free: 15.58 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.896e-05/0.3677, allocations: 15.98 kB / 0.771 GB, free: 15.57 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.784e-05/0.3678, allocations: 15.98 kB / 0.771 GB, free: 15.55 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.3679, allocations: 44.88 kB / 0.771 GB, free: 15.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.3679, allocations: 0 / 0.771 GB, free: 15.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001874/0.3681, allocations: 65.59 kB / 0.7711 GB, free: 15.43 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.3681, allocations: 8 kB / 0.7711 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.3682, allocations: 0 / 0.7711 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.3682, allocations: 4.031 kB / 0.7711 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.164e-05/0.3682, allocations: 4 kB / 0.7711 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.3683, allocations: 7.922 kB / 0.7711 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.349e-05/0.3683, allocations: 8 kB / 0.7711 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.3683, allocations: 4 kB / 0.7711 GB, free: 15.4 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.441e-05/0.3684, allocations: 105.8 kB / 0.7712 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.414e-05/0.3684, allocations: 3.938 kB / 0.7712 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002085/0.3686, allocations: 80.77 kB / 0.7713 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.3686, allocations: 0 / 0.7713 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.3686, allocations: 0 / 0.7713 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.871e-05/0.3687, allocations: 81.02 kB / 0.7714 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.004e-05/0.3687, allocations: 0 / 0.7714 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.707e-05/0.3688, allocations: 15.92 kB / 0.7714 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.124e-05/0.3688, allocations: 4 kB / 0.7714 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002318/0.369, allocations: 156.8 kB / 0.7716 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002373/0.3693, allocations: 234.8 kB / 0.7718 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.279e-05/0.3694, allocations: 19.97 kB / 0.7718 GB, free: 14.66 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.243e-05/0.3694, allocations: 87.28 kB / 0.7719 GB, free: 14.57 MB / 0.545 GB Notification: Performance of Backend: time 3e-07/0.3694, allocations: 0 / 0.7719 GB, free: 14.57 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004413/0.3699, allocations: 120.1 kB / 0.772 GB, free: 14.45 MB / 0.545 GB Notification: Performance of SimCode: time 0.0003242/0.3702, allocations: 0.5494 MB / 0.7725 GB, free: 13.84 MB / 0.545 GB Notification: Performance of Templates: time 0.002401/0.3726, allocations: 0.7596 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)