Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 107.2 kB / 15.99 MB, free: 6.348 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.001047/0.001047, allocations: 189.2 kB / 16.91 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.444/1.444, allocations: 205.1 MB / 222.8 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.695/1.695, allocations: 292.3 MB / 0.5492 GB, free: 13.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 68.69 kB / 0.6716 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2338, allocations: 114.6 MB / 0.7835 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002608/0.2365, allocations: 1.487 MB / 0.785 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004992/0.237, allocations: 261.1 kB / 0.7852 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.249e-05/0.237, allocations: 0 / 0.7852 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.225e-05/0.2371, allocations: 0 / 0.7852 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.69e-05/0.2371, allocations: 4 kB / 0.7852 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000326/0.2374, allocations: 55.89 kB / 0.7853 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.205e-05/0.2375, allocations: 23.92 kB / 0.7853 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.336e-05/0.2376, allocations: 4 kB / 0.7853 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.736e-05/0.2377, allocations: 11.98 kB / 0.7853 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.332e-05/0.2377, allocations: 11.92 kB / 0.7853 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.718e-06/0.2377, allocations: 4 kB / 0.7853 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001359/0.2378, allocations: 67.88 kB / 0.7854 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.969e-06/0.2379, allocations: 3.984 kB / 0.7854 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.055e-05/0.2379, allocations: 7.938 kB / 0.7854 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.113e-05/0.238, allocations: 35.94 kB / 0.7854 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.238, allocations: 0 / 0.7854 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.533e-06/0.238, allocations: 0 / 0.7854 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.238, allocations: 0 / 0.7854 GB, free: 11.91 MB / 0.6075 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.0004867/0.2385, allocations: 347.7 kB / 0.7858 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.2385, allocations: 16.02 kB / 0.7858 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.957e-05/0.2386, allocations: 0.9375 kB / 0.7858 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.2387, allocations: 164.3 kB / 0.7859 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.2387, allocations: 8.375 kB / 0.7859 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.2387, allocations: 384 / 0.7859 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.2389, allocations: 54.17 kB / 0.786 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-06/0.2389, allocations: 192 / 0.786 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.239, allocations: 7.922 kB / 0.786 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.239, allocations: 0 / 0.786 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001556/0.2391, allocations: 35.95 kB / 0.786 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003213/0.2395, allocations: 252.9 kB / 0.7863 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.2396, allocations: 42.38 kB / 0.7863 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.346e-05/0.2397, allocations: 24.89 kB / 0.7863 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007368/0.2404, allocations: 461.5 kB / 0.7868 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.2405, allocations: 34.55 kB / 0.7868 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.253e-06/0.2405, allocations: 0 / 0.7868 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003435/0.2408, allocations: 81.59 kB / 0.7869 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.2409, allocations: 59.52 kB / 0.787 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.936e-05/0.2409, allocations: 93.86 kB / 0.787 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.241, allocations: 25.7 kB / 0.7871 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.988e-05/0.241, allocations: 88.14 kB / 0.7871 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.685e-05/0.241, allocations: 3.906 kB / 0.7872 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.083e-05/0.2411, allocations: 13.7 kB / 0.7872 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.2412, allocations: 318.8 kB / 0.7875 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.671e-05/0.2413, allocations: 15.98 kB / 0.7875 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.523e-05/0.2413, allocations: 15.98 kB / 0.7875 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.2415, allocations: 40.81 kB / 0.7875 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2415, allocations: 0 / 0.7875 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001704/0.2417, allocations: 73.61 kB / 0.7876 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.2417, allocations: 4 kB / 0.7876 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.2417, allocations: 3.984 kB / 0.7876 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.2417, allocations: 0 / 0.7876 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.421e-05/0.2418, allocations: 8 kB / 0.7876 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.2418, allocations: 0 / 0.7876 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.501e-05/0.2419, allocations: 7.984 kB / 0.7876 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.2419, allocations: 0 / 0.7876 GB, free: 9.336 MB / 0.6075 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 7.8e-05/0.242, allocations: 113.8 kB / 0.7877 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.337e-05/0.242, allocations: 8 kB / 0.7877 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002016/0.2422, allocations: 64.78 kB / 0.7878 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.2422, allocations: 3.984 kB / 0.7878 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.2423, allocations: 7.938 kB / 0.7878 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.2423, allocations: 3.938 kB / 0.7878 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.2424, allocations: 169.5 kB / 0.788 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2424, allocations: 0 / 0.788 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.531e-05/0.2425, allocations: 12.02 kB / 0.788 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.2425, allocations: 0 / 0.788 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.2425, allocations: 0 / 0.788 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.2425, allocations: 4 kB / 0.788 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2425, allocations: 0 / 0.788 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002241/0.2427, allocations: 163.5 kB / 0.7882 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.335e-05/0.2428, allocations: 81.14 kB / 0.7882 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.043e-05/0.2428, allocations: 0 / 0.7882 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.137e-05/0.2429, allocations: 7.984 kB / 0.7882 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.171e-05/0.2429, allocations: 3.938 kB / 0.7882 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-06/0.2429, allocations: 0 / 0.7882 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.513e-05/0.243, allocations: 83.28 kB / 0.7883 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.473e-06/0.243, allocations: 0 / 0.7883 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000233/0.2432, allocations: 27.92 kB / 0.7884 GB, free: 8.496 MB / 0.6075 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 (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.0001883/0.2434, allocations: 111.6 kB / 0.7885 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001958/0.2436, allocations: 35.95 kB / 0.7885 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2436, allocations: 0 / 0.7885 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.827e-05/0.2437, allocations: 19.98 kB / 0.7885 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.244, allocations: 14.59 kB / 0.7885 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000252/0.2442, allocations: 131.2 kB / 0.7887 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.2445, allocations: 0.6845 MB / 0.7893 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.043e-05/0.2445, allocations: 7.438 kB / 0.7893 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2445, allocations: 0 / 0.7893 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of Templates: time 0.001872/0.2464, allocations: 0.7794 MB / 0.7901 GB, free: 6.652 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1)