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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7726/0.7726, allocations: 143.4 MB / 159.2 MB, free: 4.887 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 188.5 kB / 191.9 MB, free: 5.73 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.553/1.553, allocations: 222.9 MB / 447.3 MB, free: 5.883 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009772/0.0009773, allocations: 114.6 kB / 0.517 GB, free: 3.754 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001835/0.001835, allocations: 281.8 kB / 0.5973 GB, free: 49.39 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001394, allocations: 79.88 kB / 0.6885 GB, free: 3.859 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3478, allocations: 81.29 MB / 0.7679 GB, free: 27.68 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ0): time 0.002373/0.3502, allocations: 1.5 MB / 0.7694 GB, free: 26.18 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004919/0.3508, allocations: 251.3 kB / 0.7696 GB, free: 25.93 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.808e-05/0.3508, allocations: 4 kB / 0.7696 GB, free: 25.93 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 4.008e-05/0.3508, allocations: 0 / 0.7696 GB, free: 25.93 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 4.343e-05/0.3509, allocations: 7.875 kB / 0.7696 GB, free: 25.92 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003029/0.3512, allocations: 35.91 kB / 0.7697 GB, free: 25.88 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 5.662e-05/0.3513, allocations: 19.98 kB / 0.7697 GB, free: 25.86 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.428e-05/0.3514, allocations: 7.984 kB / 0.7697 GB, free: 25.86 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.094e-05/0.3514, allocations: 11.98 kB / 0.7697 GB, free: 25.84 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.614e-05/0.3515, allocations: 7.938 kB / 0.7697 GB, free: 25.84 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.121e-05/0.3515, allocations: 4 kB / 0.7697 GB, free: 25.83 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000144/0.3516, allocations: 67.88 kB / 0.7698 GB, free: 25.77 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 8.856e-06/0.3517, allocations: 3.938 kB / 0.7698 GB, free: 25.76 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.665e-05/0.3517, allocations: 11.94 kB / 0.7698 GB, free: 25.75 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000131/0.3518, allocations: 51.84 kB / 0.7698 GB, free: 25.7 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3518, allocations: 0 / 0.7698 GB, free: 25.7 MB / 458.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.3518, allocations: 0 / 0.7698 GB, free: 25.7 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.107e-06/0.3518, allocations: 0 / 0.7698 GB, free: 25.7 MB / 458.7 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.0004022/0.3523, allocations: 354.2 kB / 0.7702 GB, free: 25.3 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.3523, allocations: 12.03 kB / 0.7702 GB, free: 25.29 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.963e-05/0.3523, allocations: 0.9375 kB / 0.7702 GB, free: 25.29 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.511e-05/0.3524, allocations: 164.4 kB / 0.7703 GB, free: 25.09 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.3524, allocations: 384 / 0.7703 GB, free: 25.09 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.3525, allocations: 4.375 kB / 0.7703 GB, free: 25.09 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.3526, allocations: 54.17 kB / 0.7704 GB, free: 25.03 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.3527, allocations: 192 / 0.7704 GB, free: 25.03 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.3527, allocations: 7.938 kB / 0.7704 GB, free: 25.02 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.3527, allocations: 0 / 0.7704 GB, free: 25.02 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001527/0.3528, allocations: 35.95 kB / 0.7704 GB, free: 24.99 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002842/0.3531, allocations: 244.9 kB / 0.7707 GB, free: 24.7 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.3532, allocations: 42.53 kB / 0.7707 GB, free: 24.65 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.745e-05/0.3533, allocations: 24.84 kB / 0.7707 GB, free: 24.62 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000528/0.3539, allocations: 457.5 kB / 0.7712 GB, free: 24.08 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.3539, allocations: 34.56 kB / 0.7712 GB, free: 24.04 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.3539, allocations: 4 kB / 0.7712 GB, free: 24.04 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.000383/0.3543, allocations: 85.55 kB / 0.7713 GB, free: 23.95 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.201e-05/0.3543, allocations: 55.34 kB / 0.7713 GB, free: 23.88 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.4e-05/0.3544, allocations: 101.8 kB / 0.7714 GB, free: 23.77 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.213e-06/0.3544, allocations: 25.7 kB / 0.7715 GB, free: 23.74 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.662e-05/0.3544, allocations: 84.14 kB / 0.7715 GB, free: 23.65 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.573e-05/0.3545, allocations: 8.031 kB / 0.7716 GB, free: 23.64 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.711e-05/0.3545, allocations: 17.7 kB / 0.7716 GB, free: 23.62 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.162e-05/0.3546, allocations: 314.8 kB / 0.7719 GB, free: 23.3 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.368e-05/0.3546, allocations: 15.92 kB / 0.7719 GB, free: 23.29 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.526e-05/0.3547, allocations: 15.98 kB / 0.7719 GB, free: 23.27 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.3548, allocations: 44.88 kB / 0.7719 GB, free: 23.23 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3549, allocations: 0 / 0.7719 GB, free: 23.23 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001629/0.355, allocations: 73.53 kB / 0.772 GB, free: 23.15 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.355, allocations: 4 kB / 0.772 GB, free: 23.14 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3551, allocations: 0 / 0.772 GB, free: 23.14 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.3551, allocations: 0 / 0.772 GB, free: 23.14 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.086e-05/0.3552, allocations: 8 kB / 0.772 GB, free: 23.14 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.3552, allocations: 32 / 0.772 GB, free: 23.14 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.259e-05/0.3552, allocations: 15.92 kB / 0.772 GB, free: 23.12 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-06/0.3552, allocations: 0 / 0.772 GB, free: 23.12 MB / 458.7 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 5.656e-05/0.3553, allocations: 115.1 kB / 0.7722 GB, free: 23 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.242e-05/0.3553, allocations: 4 kB / 0.7722 GB, free: 23 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001987/0.3555, allocations: 72.77 kB / 0.7722 GB, free: 22.92 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3555, allocations: 0 / 0.7722 GB, free: 22.92 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.3555, allocations: 4.031 kB / 0.7722 GB, free: 22.92 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3556, allocations: 0 / 0.7722 GB, free: 22.92 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.3557, allocations: 165.6 kB / 0.7724 GB, free: 22.71 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3557, allocations: 0 / 0.7724 GB, free: 22.71 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.961e-05/0.3557, allocations: 7.984 kB / 0.7724 GB, free: 22.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3557, allocations: 0 / 0.7724 GB, free: 22.7 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.413e-06/0.3558, allocations: 0 / 0.7724 GB, free: 22.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.3558, allocations: 4 kB / 0.7724 GB, free: 22.7 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3558, allocations: 0 / 0.7724 GB, free: 22.7 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003801/0.3562, allocations: 0.7277 MB / 0.7731 GB, free: 21.91 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.981e-05/0.3562, allocations: 77.11 kB / 0.7732 GB, free: 21.82 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.3562, allocations: 4 kB / 0.7732 GB, free: 21.81 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.714e-05/0.3563, allocations: 3.984 kB / 0.7732 GB, free: 21.81 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.524e-05/0.3563, allocations: 8.031 kB / 0.7732 GB, free: 21.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.3563, allocations: 3.938 kB / 0.7732 GB, free: 21.8 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.269e-05/0.3564, allocations: 87.27 kB / 0.7733 GB, free: 21.71 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3564, allocations: 0 / 0.7733 GB, free: 21.71 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003094/0.3567, allocations: 16 kB / 0.7733 GB, free: 21.7 MB / 458.7 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.0001729/0.3569, allocations: 111.8 kB / 0.7734 GB, free: 21.57 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000188/0.357, allocations: 43.89 kB / 0.7735 GB, free: 21.53 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3571, allocations: 0 / 0.7735 GB, free: 21.53 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 7.414e-05/0.3571, allocations: 19.98 kB / 0.7735 GB, free: 21.51 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002115/0.3574, allocations: 0 / 0.7735 GB, free: 21.51 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002733/0.3576, allocations: 218 kB / 0.7737 GB, free: 21.26 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.692e-05/0.3577, allocations: 0.6809 MB / 0.7743 GB, free: 20.55 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.013e-05/0.3578, allocations: 3.984 kB / 0.7743 GB, free: 20.55 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.431e-05/0.3578, allocations: 11.42 kB / 0.7744 GB, free: 20.54 MB / 458.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3578, allocations: 0 / 0.7744 GB, free: 20.54 MB / 458.7 MB Notification: Performance of Templates: time 0.002237/0.36, allocations: 0.5944 MB / 0.7749 GB, free: 19.95 MB / 458.7 MB 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)