Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0") translateModel(IBPSA.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001176/0.001176, allocations: 105.2 kB / 16.53 MB, free: 6.66 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.001238/0.001238, allocations: 195.2 kB / 17.44 MB, free: 6.047 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.304/1.304, allocations: 222.9 MB / 241.1 MB, free: 13.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7232/0.7232, allocations: 115.3 MB / 406.6 MB, free: 6.441 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002352/0.002353, allocations: 67.89 kB / 493.6 MB, free: 0.8359 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3676/0.37, allocations: 76.17 MB / 0.5564 GB, free: 35.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BesselJ0): time 0.002322/0.3723, allocations: 1.49 MB / 0.5578 GB, free: 34.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004828/0.3728, allocations: 248.4 kB / 0.5581 GB, free: 34.27 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.121e-05/0.3729, allocations: 2.25 kB / 0.5581 GB, free: 34.27 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.878e-05/0.3729, allocations: 4.469 kB / 0.5581 GB, free: 34.26 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.094e-05/0.3729, allocations: 1.188 kB / 0.5581 GB, free: 34.26 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002695/0.3732, allocations: 46.03 kB / 0.5581 GB, free: 34.24 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.878e-05/0.3733, allocations: 23.86 kB / 0.5581 GB, free: 34.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.61e-05/0.3734, allocations: 4.781 kB / 0.5581 GB, free: 34.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.272e-05/0.3734, allocations: 9.531 kB / 0.5581 GB, free: 34.23 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.349e-05/0.3734, allocations: 15.59 kB / 0.5582 GB, free: 34.22 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.656e-06/0.3734, allocations: 0 / 0.5582 GB, free: 34.22 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001432/0.3736, allocations: 61.12 kB / 0.5582 GB, free: 34.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.146e-05/0.3736, allocations: 6.422 kB / 0.5582 GB, free: 34.2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.175e-05/0.3736, allocations: 12.62 kB / 0.5582 GB, free: 34.19 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.98e-05/0.3738, allocations: 31.08 kB / 0.5583 GB, free: 34.18 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3738, allocations: 1.25 kB / 0.5583 GB, free: 34.18 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.12e-07/0.3738, allocations: 0.5 kB / 0.5583 GB, free: 34.18 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.3738, allocations: 0 / 0.5583 GB, free: 34.18 MB / 446.1 MB 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.0003552/0.3741, allocations: 343.3 kB / 0.5586 GB, free: 33.83 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.3742, allocations: 11.53 kB / 0.5586 GB, free: 33.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.09e-05/0.3742, allocations: 8.344 kB / 0.5586 GB, free: 33.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.288e-05/0.3743, allocations: 169 kB / 0.5588 GB, free: 33.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.3743, allocations: 5.219 kB / 0.5588 GB, free: 33.62 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.3743, allocations: 384 / 0.5588 GB, free: 33.62 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.3745, allocations: 56.8 kB / 0.5588 GB, free: 33.58 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.3745, allocations: 1.656 kB / 0.5588 GB, free: 33.58 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.3745, allocations: 7.875 kB / 0.5588 GB, free: 33.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.3745, allocations: 0.7188 kB / 0.5588 GB, free: 33.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001692/0.3747, allocations: 33.75 kB / 0.5589 GB, free: 33.57 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002468/0.375, allocations: 248 kB / 0.5591 GB, free: 33.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.3751, allocations: 43.89 kB / 0.5592 GB, free: 33.26 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.86e-05/0.3752, allocations: 26.52 kB / 0.5592 GB, free: 33.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005519/0.3757, allocations: 458.5 kB / 0.5596 GB, free: 32.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.722e-05/0.3758, allocations: 32.16 kB / 0.5597 GB, free: 32.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.3758, allocations: 0 / 0.5597 GB, free: 32.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003377/0.3761, allocations: 85.16 kB / 0.5597 GB, free: 32.69 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.237e-05/0.3762, allocations: 53.56 kB / 0.5598 GB, free: 32.63 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.639e-05/0.3762, allocations: 101.5 kB / 0.5599 GB, free: 32.53 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.373e-06/0.3762, allocations: 25.7 kB / 0.5599 GB, free: 32.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.236e-05/0.3763, allocations: 85.77 kB / 0.56 GB, free: 32.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.547e-05/0.3763, allocations: 6.297 kB / 0.56 GB, free: 32.41 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.914e-05/0.3763, allocations: 18.45 kB / 0.56 GB, free: 32.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.797e-05/0.3764, allocations: 318.1 kB / 0.5603 GB, free: 32.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.266e-05/0.3764, allocations: 14.97 kB / 0.5603 GB, free: 32.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.316e-05/0.3765, allocations: 18.3 kB / 0.5603 GB, free: 32.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001489/0.3767, allocations: 41.75 kB / 0.5604 GB, free: 32.05 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3767, allocations: 0 / 0.5604 GB, free: 32.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001914/0.3769, allocations: 66.83 kB / 0.5605 GB, free: 32.02 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.3769, allocations: 4.562 kB / 0.5605 GB, free: 32.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3769, allocations: 0.9688 kB / 0.5605 GB, free: 32.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.3769, allocations: 0 / 0.5605 GB, free: 32.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.903e-05/0.377, allocations: 11.28 kB / 0.5605 GB, free: 32.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.377, allocations: 5.875 kB / 0.5605 GB, free: 32.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.399e-05/0.3771, allocations: 5.25 kB / 0.5605 GB, free: 32.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-06/0.3771, allocations: 1.656 kB / 0.5605 GB, free: 32.01 MB / 446.1 MB 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 4.473e-05/0.3771, allocations: 117.8 kB / 0.5606 GB, free: 31.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.368e-05/0.3772, allocations: 0.8438 kB / 0.5606 GB, free: 31.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000212/0.3774, allocations: 78.12 kB / 0.5607 GB, free: 31.85 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.3774, allocations: 0.9688 kB / 0.5607 GB, free: 31.85 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.3774, allocations: 1.188 kB / 0.5607 GB, free: 31.85 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.3774, allocations: 0 / 0.5607 GB, free: 31.85 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001157/0.3775, allocations: 164.8 kB / 0.5608 GB, free: 31.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3775, allocations: 3.938 kB / 0.5608 GB, free: 31.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.845e-05/0.3776, allocations: 10.31 kB / 0.5608 GB, free: 31.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3776, allocations: 0.8125 kB / 0.5608 GB, free: 31.64 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.3776, allocations: 2.891 kB / 0.5608 GB, free: 31.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3776, allocations: 0 / 0.5608 GB, free: 31.64 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3776, allocations: 5 kB / 0.5608 GB, free: 31.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001997/0.3778, allocations: 161.9 kB / 0.561 GB, free: 31.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.212e-05/0.3779, allocations: 86.36 kB / 0.5611 GB, free: 31.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.3779, allocations: 4 kB / 0.5611 GB, free: 31.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.386e-05/0.378, allocations: 4 kB / 0.5611 GB, free: 31.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.789e-05/0.378, allocations: 3.906 kB / 0.5611 GB, free: 31.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.378, allocations: 1.469 kB / 0.5611 GB, free: 31.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.148e-05/0.3781, allocations: 78.94 kB / 0.5612 GB, free: 31.33 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3781, allocations: 0.9688 kB / 0.5612 GB, free: 31.33 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002427/0.3783, allocations: 16.86 kB / 0.5612 GB, free: 31.33 MB / 446.1 MB 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.0001819/0.3785, allocations: 115.9 kB / 0.5613 GB, free: 31.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002076/0.3787, allocations: 44.36 kB / 0.5613 GB, free: 31.22 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3787, allocations: 0 / 0.5613 GB, free: 31.22 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.655e-05/0.3788, allocations: 19.59 kB / 0.5614 GB, free: 31.22 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002339/0.379, allocations: 11.23 kB / 0.5614 GB, free: 31.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002497/0.3793, allocations: 136.7 kB / 0.5615 GB, free: 31.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001035/0.3794, allocations: 0.6766 MB / 0.5622 GB, free: 30.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.077e-05/0.3794, allocations: 10.06 kB / 0.5622 GB, free: 30.37 MB / 446.1 MB Notification: Performance of SimCode: time 2.01e-07/0.3795, allocations: 0 / 0.5622 GB, free: 30.37 MB / 446.1 MB Notification: Performance of Templates: time 0.002164/0.3816, allocations: 0.756 MB / 0.5629 GB, free: 30.36 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe 2>&1)