Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.642/2.642, allocations: 287.5 MB / 302.4 MB, free: 8.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00135/0.00135, allocations: 172.5 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.098/2.098, allocations: 205.4 MB / 0.6297 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009609/0.0009605, allocations: 89.23 kB / 0.743 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007422/0.0007425, allocations: 14 kB / 0.8658 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3102, allocations: 115.3 MB / 0.9783 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002398/0.3127, allocations: 1.14 MB / 0.9795 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007928/0.3136, allocations: 228.3 kB / 0.9797 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.187e-05/0.3136, allocations: 0 / 0.9797 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.03e-05/0.3137, allocations: 11.86 kB / 0.9797 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.005e-05/0.3138, allocations: 0 / 0.9797 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004208/0.3142, allocations: 51.89 kB / 0.9797 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.466e-05/0.3143, allocations: 19.92 kB / 0.9798 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.099e-05/0.3144, allocations: 4 kB / 0.9798 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.726e-05/0.3145, allocations: 4 kB / 0.9798 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.741e-05/0.3145, allocations: 11.92 kB / 0.9798 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.3146, allocations: 0 / 0.9798 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002403/0.3148, allocations: 67.86 kB / 0.9798 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.14e-05/0.3148, allocations: 4 kB / 0.9798 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.584e-05/0.3149, allocations: 25.7 kB / 0.9799 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.3151, allocations: 35.95 kB / 0.9799 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.3151, allocations: 0 / 0.9799 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.355e-06/0.3151, allocations: 0 / 0.9799 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.9e-06/0.3151, allocations: 0 / 0.9799 GB, free: 26.74 MB / 0.6198 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.0005621/0.3157, allocations: 347.5 kB / 0.9802 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.3158, allocations: 12.02 kB / 0.9802 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.228e-05/0.3158, allocations: 0 / 0.9802 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.316, allocations: 175 kB / 0.9804 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.316, allocations: 3.938 kB / 0.9804 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.316, allocations: 0 / 0.9804 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003025/0.3164, allocations: 53.67 kB / 0.9805 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.3164, allocations: 0 / 0.9805 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.3164, allocations: 4 kB / 0.9805 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.3164, allocations: 0 / 0.9805 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003944/0.3169, allocations: 43.97 kB / 0.9805 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004324/0.3173, allocations: 252.9 kB / 0.9808 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002472/0.3176, allocations: 42.5 kB / 0.9808 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001985/0.3178, allocations: 28.91 kB / 0.9808 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001041/0.3189, allocations: 469.4 kB / 0.9813 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.3189, allocations: 34.5 kB / 0.9813 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 4.118e-06/0.3189, allocations: 0 / 0.9813 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0007381/0.3197, allocations: 101.5 kB / 0.9814 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.3198, allocations: 55.34 kB / 0.9815 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.169e-05/0.3199, allocations: 105.8 kB / 0.9816 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.3199, allocations: 25.7 kB / 0.9816 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.29e-05/0.32, allocations: 84.14 kB / 0.9817 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.539e-05/0.3201, allocations: 3.906 kB / 0.9817 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.967e-06/0.3201, allocations: 4.125 kB / 0.9817 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.535e-05/0.3202, allocations: 318.8 kB / 0.982 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001825/0.3204, allocations: 19.98 kB / 0.982 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001828/0.3206, allocations: 23.97 kB / 0.982 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002011/0.3208, allocations: 27.98 kB / 0.982 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.3208, allocations: 0 / 0.982 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004943/0.3213, allocations: 73.66 kB / 0.9821 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.3214, allocations: 12.03 kB / 0.9821 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.3214, allocations: 0 / 0.9821 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.365e-05/0.3214, allocations: 0 / 0.9821 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.3216, allocations: 11.94 kB / 0.9821 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.088e-06/0.3216, allocations: 3.984 kB / 0.9821 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.3218, allocations: 8 kB / 0.9821 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.3218, allocations: 0 / 0.9821 GB, free: 24.14 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.604e-05/0.3219, allocations: 119.1 kB / 0.9823 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.803e-05/0.322, allocations: 4 kB / 0.9823 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004892/0.3225, allocations: 76.77 kB / 0.9823 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.3225, allocations: 0 / 0.9823 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.3225, allocations: 8.031 kB / 0.9823 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.3225, allocations: 0 / 0.9823 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002374/0.3228, allocations: 161.6 kB / 0.9825 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.3228, allocations: 0 / 0.9825 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001361/0.323, allocations: 11.98 kB / 0.9825 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/0.323, allocations: 0 / 0.9825 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.323, allocations: 4 kB / 0.9825 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.323, allocations: 3.938 kB / 0.9825 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.3231, allocations: 0 / 0.9825 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00052/0.3236, allocations: 179.5 kB / 0.9827 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.663e-05/0.3237, allocations: 84.95 kB / 0.9828 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.3237, allocations: 0 / 0.9828 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.3239, allocations: 16.02 kB / 0.9828 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.138e-05/0.324, allocations: 0 / 0.9828 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.324, allocations: 0 / 0.9828 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.26e-05/0.3241, allocations: 87.27 kB / 0.9829 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.82e-07/0.3241, allocations: 0 / 0.9829 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005218/0.3246, allocations: 12 kB / 0.9829 GB, free: 23.29 MB / 0.6198 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003358/0.325, allocations: 119.2 kB / 0.983 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004844/0.3255, allocations: 47.91 kB / 0.983 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.3255, allocations: 0 / 0.983 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002104/0.3258, allocations: 28.05 kB / 0.9831 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004722/0.3263, allocations: 7.953 kB / 0.9831 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004162/0.3267, allocations: 104.7 kB / 0.9832 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001596/0.3269, allocations: 0.677 MB / 0.9838 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.801e-05/0.327, allocations: 8.062 kB / 0.9838 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.523e-05/0.327, allocations: 11.38 kB / 0.9839 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of SimCode: time 1.432e-06/0.327, allocations: 0 / 0.9839 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of Templates: time 0.004808/0.3319, allocations: 0.5808 MB / 0.9844 GB, free: 21.65 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.BesselJ0.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1)