Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008107/0.0008108, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005492/0.005492, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001729/0.001729, allocations: 266.4 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9254/0.9254, allocations: 169.5 MB / 0.5004 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004535/0.0004535, allocations: 13.25 kB / 0.5987 GB, free: 27.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1585, allocations: 88.55 MB / 0.6851 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0): time 0.0007768/0.1593, allocations: 303.3 kB / 0.6854 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005122/0.1598, allocations: 196.4 kB / 0.6856 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.869e-06/0.1599, allocations: 0 / 0.6856 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.168e-05/0.1599, allocations: 0.5938 kB / 0.6856 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.49e-06/0.1599, allocations: 0 / 0.6856 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00032/0.1602, allocations: 40.47 kB / 0.6857 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.064e-05/0.1603, allocations: 0.5938 kB / 0.6857 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.204e-05/0.1603, allocations: 14.2 kB / 0.6857 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.685e-05/0.1603, allocations: 3.984 kB / 0.6857 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.301e-05/0.1604, allocations: 0 / 0.6857 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.035e-06/0.1604, allocations: 0 / 0.6857 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001914/0.1606, allocations: 59.89 kB / 0.6857 GB, free: 14.44 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.205e-06/0.1606, allocations: 0 / 0.6857 GB, free: 14.44 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.014e-05/0.1606, allocations: 34.14 kB / 0.6858 GB, free: 14.4 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.1608, allocations: 40.62 kB / 0.6858 GB, free: 14.36 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1608, allocations: 0 / 0.6858 GB, free: 14.36 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.1608, allocations: 0 / 0.6858 GB, free: 14.36 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.1608, allocations: 0.5312 kB / 0.6858 GB, free: 14.36 MB / 494.1 MB 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.0002754/0.1611, allocations: 320.4 kB / 0.6861 GB, free: 14 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.1611, allocations: 9.188 kB / 0.6861 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.358e-05/0.1611, allocations: 0.9375 kB / 0.6861 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.711e-05/0.1612, allocations: 164.4 kB / 0.6863 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.1613, allocations: 0.9375 kB / 0.6863 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.1613, allocations: 5.016 kB / 0.6863 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.535e-05/0.1614, allocations: 27.23 kB / 0.6863 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.1614, allocations: 192 / 0.6863 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.1614, allocations: 7.922 kB / 0.6863 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1614, allocations: 7.438 kB / 0.6863 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.947e-05/0.1614, allocations: 3.938 kB / 0.6863 GB, free: 13.74 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001284/0.1616, allocations: 145.7 kB / 0.6865 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.568e-05/0.1616, allocations: 18.61 kB / 0.6865 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.589e-05/0.1616, allocations: 4.859 kB / 0.6865 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006768/0.1623, allocations: 459.6 kB / 0.6869 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.1624, allocations: 32.28 kB / 0.687 GB, free: 12.94 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.282e-06/0.1624, allocations: 0 / 0.687 GB, free: 12.94 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001091/0.1625, allocations: 37.58 kB / 0.687 GB, free: 12.89 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.903e-05/0.1625, allocations: 55.53 kB / 0.687 GB, free: 12.83 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.11e-05/0.1626, allocations: 89.86 kB / 0.6871 GB, free: 12.73 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.013e-05/0.1626, allocations: 29.7 kB / 0.6872 GB, free: 12.7 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.39e-05/0.1626, allocations: 80.14 kB / 0.6872 GB, free: 12.61 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.357e-05/0.1626, allocations: 3.984 kB / 0.6872 GB, free: 12.61 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.968e-05/0.1627, allocations: 13.72 kB / 0.6873 GB, free: 12.59 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.404e-05/0.1628, allocations: 314.8 kB / 0.6876 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.614e-06/0.1628, allocations: 0 / 0.6876 GB, free: 12.27 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.504e-06/0.1628, allocations: 4 kB / 0.6876 GB, free: 12.27 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.11e-05/0.1628, allocations: 8.922 kB / 0.6876 GB, free: 12.26 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1628, allocations: 0 / 0.6876 GB, free: 12.26 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.953e-05/0.1629, allocations: 41.64 kB / 0.6876 GB, free: 12.21 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.1629, allocations: 6.031 kB / 0.6876 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.1629, allocations: 3.938 kB / 0.6876 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.1629, allocations: 3.938 kB / 0.6876 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.583e-05/0.163, allocations: 7.984 kB / 0.6876 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.163, allocations: 0 / 0.6876 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.566e-06/0.163, allocations: 288 / 0.6876 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.163, allocations: 4.031 kB / 0.6876 GB, free: 12.19 MB / 494.1 MB 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.532e-05/0.1631, allocations: 111.2 kB / 0.6877 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.5e-06/0.1631, allocations: 0 / 0.6877 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.081e-05/0.1632, allocations: 48.62 kB / 0.6878 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.1632, allocations: 4 kB / 0.6878 GB, free: 12.01 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.1632, allocations: 0 / 0.6878 GB, free: 12.01 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.1632, allocations: 0 / 0.6878 GB, free: 12.01 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.616e-05/0.1633, allocations: 145.7 kB / 0.6879 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.1633, allocations: 32 / 0.6879 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.197e-05/0.1633, allocations: 8 kB / 0.6879 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.1633, allocations: 0 / 0.6879 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.1633, allocations: 3.938 kB / 0.6879 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.1633, allocations: 0 / 0.6879 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.1633, allocations: 3.984 kB / 0.6879 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.479e-05/0.1634, allocations: 53.05 kB / 0.688 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.817e-05/0.1634, allocations: 81.11 kB / 0.6881 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.618e-06/0.1635, allocations: 7.969 kB / 0.6881 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.643e-06/0.1635, allocations: 0 / 0.6881 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.879e-06/0.1635, allocations: 3.984 kB / 0.6881 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.1635, allocations: 4 kB / 0.6881 GB, free: 11.62 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.285e-05/0.1635, allocations: 79.22 kB / 0.6882 GB, free: 11.54 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1635, allocations: 0 / 0.6882 GB, free: 11.54 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001886/0.1637, allocations: 12 kB / 0.6882 GB, free: 11.53 MB / 494.1 MB 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.0001888/0.1639, allocations: 127.2 kB / 0.6883 GB, free: 11.39 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.288e-05/0.164, allocations: 7.984 kB / 0.6883 GB, free: 11.39 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.164, allocations: 0 / 0.6883 GB, free: 11.39 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.039e-06/0.164, allocations: 0 / 0.6883 GB, free: 11.39 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001172/0.1641, allocations: 6.391 kB / 0.6883 GB, free: 11.38 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001556/0.1643, allocations: 74.77 kB / 0.6884 GB, free: 11.29 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/0.1645, allocations: 0.6733 MB / 0.689 GB, free: 10.59 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.053e-05/0.1645, allocations: 0 / 0.689 GB, free: 10.59 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.749e-05/0.1646, allocations: 7.438 kB / 0.689 GB, free: 10.58 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1646, allocations: 4 kB / 0.689 GB, free: 10.57 MB / 494.1 MB Notification: Performance of Templates: time 0.002119/0.1667, allocations: 404.8 kB / 0.6894 GB, free: 10.18 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)