Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.539/1.539, allocations: 292.3 MB / 308.1 MB, free: 4.289 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.001248/0.001248, allocations: 186.4 kB / 376.9 MB, free: 1.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.381/1.381, allocations: 205.1 MB / 0.6354 GB, free: 9.773 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001021/0.001021, allocations: 100.4 kB / 0.748 GB, free: 61.11 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009515/0.0009515, allocations: 56.16 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2321, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001828/0.234, allocations: 0.6588 MB / 0.9829 GB, free: 9.703 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0005177/0.2345, allocations: 203.3 kB / 0.9831 GB, free: 9.504 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.598e-06/0.2346, allocations: 4 kB / 0.9831 GB, free: 9.5 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.653e-05/0.2346, allocations: 0 / 0.9831 GB, free: 9.5 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.92e-06/0.2346, allocations: 0 / 0.9831 GB, free: 9.5 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003159/0.2349, allocations: 43.89 kB / 0.9831 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 2.95e-05/0.235, allocations: 0 / 0.9831 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.684e-05/0.235, allocations: 4 kB / 0.9831 GB, free: 9.453 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 1.128e-05/0.235, allocations: 0 / 0.9831 GB, free: 9.453 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 1.67e-05/0.2351, allocations: 4 kB / 0.9831 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 5.66e-06/0.2351, allocations: 0 / 0.9831 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001679/0.2353, allocations: 63.88 kB / 0.9832 GB, free: 9.387 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 8.195e-06/0.2353, allocations: 3.984 kB / 0.9832 GB, free: 9.383 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.714e-05/0.2353, allocations: 3.938 kB / 0.9832 GB, free: 9.379 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001143/0.2354, allocations: 35.95 kB / 0.9832 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.2354, allocations: 0 / 0.9832 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.62e-07/0.2354, allocations: 3.938 kB / 0.9832 GB, free: 9.34 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.956e-06/0.2354, allocations: 4 kB / 0.9832 GB, free: 9.336 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002908/0.2357, allocations: 322.2 kB / 0.9835 GB, free: 8.973 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.2358, allocations: 12.03 kB / 0.9835 GB, free: 8.961 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.567e-05/0.2358, allocations: 0.9375 kB / 0.9835 GB, free: 8.961 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.994e-05/0.2359, allocations: 160.4 kB / 0.9837 GB, free: 8.766 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.2359, allocations: 4.375 kB / 0.9837 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.2359, allocations: 384 / 0.9837 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.434e-05/0.236, allocations: 34.25 kB / 0.9837 GB, free: 8.723 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.236, allocations: 4.188 kB / 0.9837 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.236, allocations: 3.938 kB / 0.9837 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.2361, allocations: 0 / 0.9837 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.643e-05/0.2361, allocations: 0 / 0.9837 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001319/0.2362, allocations: 145.7 kB / 0.9839 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.49e-05/0.2363, allocations: 22.55 kB / 0.9839 GB, free: 8.492 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.46e-05/0.2363, allocations: 4.859 kB / 0.9839 GB, free: 8.484 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007168/0.237, allocations: 469.5 kB / 0.9844 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.237, allocations: 30.56 kB / 0.9844 GB, free: 7.895 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.237, allocations: 0 / 0.9844 GB, free: 7.895 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001191/0.2372, allocations: 41.56 kB / 0.9844 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/0.2372, allocations: 55.47 kB / 0.9845 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.1e-05/0.2372, allocations: 93.86 kB / 0.9846 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.2373, allocations: 25.7 kB / 0.9846 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.537e-05/0.2373, allocations: 84.14 kB / 0.9847 GB, free: 7.562 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.351e-05/0.2373, allocations: 7.906 kB / 0.9847 GB, free: 7.555 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.633e-05/0.2374, allocations: 9.719 kB / 0.9847 GB, free: 7.539 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.2375, allocations: 310.8 kB / 0.985 GB, free: 7.227 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.769e-05/0.2375, allocations: 0 / 0.985 GB, free: 7.227 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.524e-06/0.2375, allocations: 7.938 kB / 0.985 GB, free: 7.219 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.089e-05/0.2375, allocations: 8.922 kB / 0.985 GB, free: 7.207 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2375, allocations: 0 / 0.985 GB, free: 7.207 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.323e-05/0.2376, allocations: 45.62 kB / 0.985 GB, free: 7.156 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.2376, allocations: 4 kB / 0.9851 GB, free: 7.152 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.2376, allocations: 0 / 0.9851 GB, free: 7.152 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.2376, allocations: 3.938 kB / 0.9851 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.621e-05/0.2377, allocations: 4 kB / 0.9851 GB, free: 7.145 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.2377, allocations: 0 / 0.9851 GB, free: 7.145 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.774e-06/0.2377, allocations: 0 / 0.9851 GB, free: 7.145 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-06/0.2377, allocations: 4.031 kB / 0.9851 GB, free: 7.141 MB / 0.7136 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 (1): * Single equations (assignments): 1 * 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.61e-05/0.2378, allocations: 109.8 kB / 0.9852 GB, free: 7.023 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.656e-06/0.2378, allocations: 7.984 kB / 0.9852 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.089e-05/0.2379, allocations: 36.77 kB / 0.9852 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.2379, allocations: 0 / 0.9852 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.2379, allocations: 0 / 0.9852 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-06/0.2379, allocations: 0 / 0.9852 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.661e-05/0.238, allocations: 149.7 kB / 0.9854 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.238, allocations: 7.969 kB / 0.9854 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.386e-05/0.238, allocations: 4 kB / 0.9854 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.238, allocations: 0 / 0.9854 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.238, allocations: 3.938 kB / 0.9854 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.238, allocations: 0 / 0.9854 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.238, allocations: 4 kB / 0.9854 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002772/0.2383, allocations: 0.6045 MB / 0.986 GB, free: 6.098 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.758e-05/0.2384, allocations: 77.39 kB / 0.986 GB, free: 6.004 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.061e-05/0.2384, allocations: 0 / 0.986 GB, free: 6.004 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.107e-06/0.2384, allocations: 3.984 kB / 0.986 GB, free: 6 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.819e-06/0.2384, allocations: 0 / 0.986 GB, free: 6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.2384, allocations: 0 / 0.986 GB, free: 6 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.501e-05/0.2384, allocations: 75.28 kB / 0.9861 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2384, allocations: 4 kB / 0.9861 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002798/0.2387, allocations: 16 kB / 0.9861 GB, free: 5.906 MB / 0.7136 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 (1): * Single equations (assignments): 1 * 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.0001882/0.2389, allocations: 123.2 kB / 0.9862 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.741e-05/0.239, allocations: 7.938 kB / 0.9863 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.239, allocations: 3.938 kB / 0.9863 GB, free: 5.762 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.943e-06/0.239, allocations: 3.938 kB / 0.9863 GB, free: 5.758 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001176/0.2391, allocations: 11.88 kB / 0.9863 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001967/0.2393, allocations: 181.8 kB / 0.9864 GB, free: 5.531 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001935/0.2395, allocations: 0.6731 MB / 0.9871 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.058e-05/0.2395, allocations: 0 / 0.9871 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.02e-05/0.2396, allocations: 7.438 kB / 0.9871 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of SimCode: time 1.91e-07/0.2396, allocations: 0 / 0.9871 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of Templates: time 0.001916/0.2415, allocations: 404.6 kB / 0.9875 GB, free: 4.43 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)