Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 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.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001095/0.001095, allocations: 108.1 kB / 15.99 MB, free: 5.895 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.001082/0.001082, allocations: 195.2 kB / 16.91 MB, free: 5.746 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.513/1.513, 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.715/1.715, allocations: 292.3 MB / 0.5492 GB, free: 13.57 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.001415/0.001415, allocations: 61.88 kB / 0.6716 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2458, allocations: 114.6 MB / 0.7835 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002694/0.2485, allocations: 1.495 MB / 0.785 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005574/0.2491, allocations: 249.1 kB / 0.7852 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.904e-05/0.2491, allocations: 0 / 0.7852 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.988e-05/0.2492, allocations: 4 kB / 0.7852 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.677e-05/0.2493, allocations: 3.938 kB / 0.7852 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003741/0.2497, allocations: 55.88 kB / 0.7853 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.989e-05/0.2497, allocations: 12 kB / 0.7853 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.2498, allocations: 11.98 kB / 0.7853 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.888e-05/0.2499, allocations: 0 / 0.7853 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.151e-05/0.2499, allocations: 15.92 kB / 0.7853 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.25, allocations: 4 kB / 0.7853 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001476/0.2501, allocations: 67.88 kB / 0.7854 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.176e-05/0.2501, allocations: 7.984 kB / 0.7854 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.761e-05/0.2502, allocations: 11.94 kB / 0.7854 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.2503, allocations: 31.94 kB / 0.7854 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.2503, allocations: 0 / 0.7854 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2503, allocations: 3.938 kB / 0.7854 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.2503, allocations: 0 / 0.7854 GB, free: 11.9 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.0004783/0.2508, allocations: 347.7 kB / 0.7858 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.2508, allocations: 8.031 kB / 0.7858 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.206e-05/0.2509, allocations: 4.938 kB / 0.7858 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.251, allocations: 168.4 kB / 0.7859 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.251, allocations: 4.375 kB / 0.7859 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.034e-05/0.251, allocations: 4.375 kB / 0.7859 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.2512, allocations: 46.23 kB / 0.786 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.2512, allocations: 8.125 kB / 0.786 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.2512, allocations: 3.938 kB / 0.786 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.2512, allocations: 0 / 0.786 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001546/0.2514, allocations: 31.97 kB / 0.786 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003206/0.2517, allocations: 252.8 kB / 0.7863 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.2519, allocations: 42.5 kB / 0.7863 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.163e-05/0.252, allocations: 16.91 kB / 0.7863 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006736/0.2526, allocations: 461.5 kB / 0.7868 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.2527, allocations: 30.56 kB / 0.7868 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.093e-06/0.2527, allocations: 0 / 0.7868 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003514/0.253, allocations: 89.58 kB / 0.7869 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.2531, allocations: 51.41 kB / 0.7869 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.002e-05/0.2532, allocations: 101.8 kB / 0.787 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.2532, allocations: 25.7 kB / 0.787 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.085e-05/0.2532, allocations: 80.14 kB / 0.7871 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.702e-05/0.2532, allocations: 7.906 kB / 0.7871 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.134e-05/0.2533, allocations: 17.66 kB / 0.7871 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.2534, allocations: 315 kB / 0.7874 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.927e-05/0.2535, allocations: 19.97 kB / 0.7875 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.978e-05/0.2536, allocations: 15.98 kB / 0.7875 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.2537, allocations: 36.83 kB / 0.7875 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.2537, allocations: 0 / 0.7875 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001952/0.2539, allocations: 77.59 kB / 0.7876 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.254, allocations: 6.812 kB / 0.7876 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.254, allocations: 0 / 0.7876 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.254, allocations: 0 / 0.7876 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.246e-05/0.2541, allocations: 11.98 kB / 0.7876 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.2541, allocations: 0 / 0.7876 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.524e-05/0.2541, allocations: 7.984 kB / 0.7876 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.2541, allocations: 0 / 0.7876 GB, free: 9.34 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.904e-05/0.2542, allocations: 117.8 kB / 0.7877 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.318e-05/0.2543, allocations: 4 kB / 0.7877 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002126/0.2545, allocations: 72.72 kB / 0.7878 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.2545, allocations: 0 / 0.7878 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.2545, allocations: 0 / 0.7878 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.2545, allocations: 0 / 0.7878 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/0.2547, allocations: 177.4 kB / 0.788 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2547, allocations: 4.031 kB / 0.788 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.321e-05/0.2547, allocations: 8 kB / 0.788 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2547, allocations: 192 / 0.788 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.2548, allocations: 0 / 0.788 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.2548, allocations: 3.984 kB / 0.788 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.2548, allocations: 0 / 0.788 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002361/0.255, allocations: 163.5 kB / 0.7881 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.734e-05/0.2551, allocations: 89.03 kB / 0.7882 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.2551, allocations: 0 / 0.7882 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.283e-05/0.2552, allocations: 8 kB / 0.7882 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.272e-05/0.2552, allocations: 3.984 kB / 0.7882 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-06/0.2552, allocations: 0 / 0.7882 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.406e-05/0.2553, allocations: 79.28 kB / 0.7883 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2553, allocations: 0 / 0.7883 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000238/0.2555, allocations: 16 kB / 0.7883 GB, free: 8.508 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.0002002/0.2557, allocations: 119.3 kB / 0.7884 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002172/0.2559, allocations: 35.97 kB / 0.7885 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2559, allocations: 0 / 0.7885 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.342e-05/0.256, allocations: 24.03 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.0002355/0.2563, allocations: 15.81 kB / 0.7885 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000269/0.2566, allocations: 135.2 kB / 0.7886 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002612/0.2568, allocations: 0.6768 MB / 0.7893 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.38e-05/0.2569, allocations: 11.44 kB / 0.7893 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.2569, allocations: 0 / 0.7893 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of Templates: time 0.002022/0.2589, allocations: 0.7654 MB / 0.7901 GB, free: 6.66 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1)