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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 111.2 kB / 15.99 MB, free: 5.91 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.001646/0.001646, allocations: 189.3 kB / 16.91 MB, free: 5.758 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.49/1.49, allocations: 205.1 MB / 222.8 MB, free: 12.43 MB / 190.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: 17.48 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.001298/0.001298, allocations: 67.91 kB / 0.6716 GB, free: 6.934 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2379, allocations: 114.5 MB / 0.7835 GB, free: 4.273 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001831/0.2397, allocations: 0.6581 MB / 0.7842 GB, free: 3.609 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0004558/0.2402, allocations: 207.3 kB / 0.7843 GB, free: 3.406 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.183e-05/0.2402, allocations: 0 / 0.7843 GB, free: 3.406 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.102e-05/0.2403, allocations: 0 / 0.7843 GB, free: 3.406 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.023e-06/0.2403, allocations: 0 / 0.7843 GB, free: 3.406 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003973/0.2407, allocations: 47.91 kB / 0.7844 GB, free: 3.359 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 4.656e-05/0.2407, allocations: 4 kB / 0.7844 GB, free: 3.355 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.056e-05/0.2408, allocations: 3.984 kB / 0.7844 GB, free: 3.352 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.171e-05/0.2408, allocations: 4 kB / 0.7844 GB, free: 3.348 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 1.95e-05/0.2408, allocations: 0 / 0.7844 GB, free: 3.348 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.523e-06/0.2408, allocations: 0 / 0.7844 GB, free: 3.348 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001665/0.241, allocations: 63.88 kB / 0.7845 GB, free: 3.285 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.662e-06/0.241, allocations: 4 kB / 0.7845 GB, free: 3.281 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.391e-05/0.241, allocations: 0 / 0.7845 GB, free: 3.281 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 8.696e-05/0.2411, allocations: 23.95 kB / 0.7845 GB, free: 3.258 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.768e-06/0.2411, allocations: 0 / 0.7845 GB, free: 3.258 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.724e-06/0.2411, allocations: 0 / 0.7845 GB, free: 3.258 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.2411, allocations: 0 / 0.7845 GB, free: 3.258 MB / 0.6544 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.0002958/0.2414, allocations: 319.6 kB / 0.7848 GB, free: 2.895 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.2415, allocations: 12.03 kB / 0.7848 GB, free: 2.883 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.83e-05/0.2415, allocations: 0.9375 kB / 0.7848 GB, free: 2.883 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.239e-05/0.2416, allocations: 164.4 kB / 0.785 GB, free: 2.684 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.2416, allocations: 384 / 0.785 GB, free: 2.684 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.863e-06/0.2416, allocations: 4.312 kB / 0.785 GB, free: 2.68 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.086e-05/0.2417, allocations: 30.25 kB / 0.785 GB, free: 2.645 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.2418, allocations: 8.125 kB / 0.785 GB, free: 2.637 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.128e-06/0.2418, allocations: 3.938 kB / 0.785 GB, free: 2.633 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.2418, allocations: 0 / 0.785 GB, free: 2.633 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.833e-05/0.2418, allocations: 0 / 0.785 GB, free: 2.633 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001406/0.2419, allocations: 145.7 kB / 0.7852 GB, free: 2.441 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 3.805e-05/0.242, allocations: 22.61 kB / 0.7852 GB, free: 2.41 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.417e-05/0.242, allocations: 4.859 kB / 0.7852 GB, free: 2.402 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007723/0.2428, allocations: 461.5 kB / 0.7856 GB, free: 1.859 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.2428, allocations: 38.56 kB / 0.7857 GB, free: 1.812 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 3.807e-06/0.2428, allocations: 0 / 0.7857 GB, free: 1.812 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0001257/0.243, allocations: 41.56 kB / 0.7857 GB, free: 1.766 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.243, allocations: 51.41 kB / 0.7857 GB, free: 1.703 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.978e-05/0.2431, allocations: 89.86 kB / 0.7858 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.2431, allocations: 25.7 kB / 0.7859 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.646e-05/0.2431, allocations: 80.14 kB / 0.7859 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.255e-05/0.2432, allocations: 7.906 kB / 0.7859 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.657e-05/0.2432, allocations: 17.84 kB / 0.786 GB, free: 1.461 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.2433, allocations: 310.8 kB / 0.7863 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.187e-06/0.2433, allocations: 0 / 0.7863 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.654e-06/0.2433, allocations: 7.984 kB / 0.7863 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.338e-05/0.2433, allocations: 8.797 kB / 0.7863 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2434, allocations: 0 / 0.7863 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.909e-05/0.2434, allocations: 37.7 kB / 0.7863 GB, free: 1.086 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.2434, allocations: 6.969 kB / 0.7863 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.2435, allocations: 4.094 kB / 0.7863 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.2435, allocations: 3.938 kB / 0.7863 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.04e-05/0.2435, allocations: 4 kB / 0.7863 GB, free: 1.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.2435, allocations: 0 / 0.7863 GB, free: 1.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.558e-06/0.2435, allocations: 0 / 0.7863 GB, free: 1.07 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.2435, allocations: 0 / 0.7863 GB, free: 1.07 MB / 0.6544 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 6.653e-05/0.2436, allocations: 109.8 kB / 0.7864 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.611e-06/0.2436, allocations: 0 / 0.7864 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.27e-05/0.2437, allocations: 44.7 kB / 0.7865 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.2437, allocations: 4 kB / 0.7865 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.2437, allocations: 7.938 kB / 0.7865 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.2437, allocations: 0 / 0.7865 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001052/0.2438, allocations: 149.7 kB / 0.7866 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2438, allocations: 0 / 0.7866 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.24e-05/0.2439, allocations: 4 kB / 0.7866 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.2439, allocations: 3.984 kB / 0.7866 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.2439, allocations: 3.938 kB / 0.7866 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2439, allocations: 0 / 0.7866 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2439, allocations: 0 / 0.7866 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.295e-05/0.244, allocations: 65.09 kB / 0.7867 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.658e-05/0.244, allocations: 81.39 kB / 0.7868 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.087e-05/0.244, allocations: 3.938 kB / 0.7868 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.612e-06/0.244, allocations: 0 / 0.7868 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.007e-05/0.2441, allocations: 0 / 0.7868 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-06/0.2441, allocations: 0 / 0.7868 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.524e-05/0.2441, allocations: 79.22 kB / 0.7869 GB, free: 432 kB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.2441, allocations: 4.031 kB / 0.7869 GB, free: 428 kB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001986/0.2443, allocations: 16 kB / 0.7869 GB, free: 412 kB / 0.6544 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.0002165/0.2445, allocations: 123.2 kB / 0.787 GB, free: 280 kB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 6.929e-05/0.2446, allocations: 4 kB / 0.787 GB, free: 276 kB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.2446, allocations: 4.062 kB / 0.787 GB, free: 272 kB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 5.751e-06/0.2446, allocations: 0 / 0.787 GB, free: 272 kB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001338/0.2448, allocations: 11.92 kB / 0.787 GB, free: 260 kB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001908/0.245, allocations: 102.7 kB / 0.7871 GB, free: 124 kB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3592/0.6042, allocations: 0.669 MB / 0.7878 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.454e-05/0.6042, allocations: 8.062 kB / 0.7878 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of SimCode: time 1.873e-06/0.6043, allocations: 0 / 0.7878 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of Templates: time 0.00187/0.6061, allocations: 0.5547 MB / 0.7883 GB, free: 48.29 MB / 0.6544 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)