Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001159/0.001159, allocations: 101.6 kB / 16.27 MB, free: 5.852 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.001153/0.001153, allocations: 188.7 kB / 17.19 MB, free: 5.5 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.282/1.282, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002136/0.002136, allocations: 281.4 kB / 291.3 MB, free: 14.53 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9086/0.9086, allocations: 169.3 MB / 0.4988 GB, free: 4.504 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 102.7 kB / 0.5959 GB, free: 15.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1648, allocations: 86.98 MB / 0.6809 GB, free: 8.188 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1): time 0.001877/0.1667, allocations: 0.5684 MB / 0.6814 GB, free: 7.613 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004726/0.1672, allocations: 199.3 kB / 0.6816 GB, free: 7.418 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.274e-05/0.1672, allocations: 3.938 kB / 0.6816 GB, free: 7.414 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.468e-05/0.1673, allocations: 4 kB / 0.6816 GB, free: 7.41 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.48e-06/0.1673, allocations: 0 / 0.6816 GB, free: 7.41 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003868/0.1677, allocations: 51.81 kB / 0.6817 GB, free: 7.359 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.012e-05/0.1677, allocations: 8 kB / 0.6817 GB, free: 7.352 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.404e-05/0.1678, allocations: 11.94 kB / 0.6817 GB, free: 7.34 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.275e-05/0.1678, allocations: 0 / 0.6817 GB, free: 7.34 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.907e-05/0.1678, allocations: 0 / 0.6817 GB, free: 7.34 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.815e-06/0.1678, allocations: 0 / 0.6817 GB, free: 7.34 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001627/0.168, allocations: 55.94 kB / 0.6817 GB, free: 7.285 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.118e-05/0.168, allocations: 4 kB / 0.6817 GB, free: 7.281 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.729e-05/0.1681, allocations: 7.922 kB / 0.6817 GB, free: 7.273 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001071/0.1682, allocations: 27.95 kB / 0.6818 GB, free: 7.246 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.1682, allocations: 0 / 0.6818 GB, free: 7.246 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.1682, allocations: 0 / 0.6818 GB, free: 7.246 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.1682, allocations: 7.938 kB / 0.6818 GB, free: 7.238 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.0002797/0.1685, allocations: 323.6 kB / 0.6821 GB, free: 6.871 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.1685, allocations: 8.031 kB / 0.6821 GB, free: 6.863 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.232e-05/0.1686, allocations: 0.9375 kB / 0.6821 GB, free: 6.863 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.08e-05/0.1687, allocations: 160.4 kB / 0.6822 GB, free: 6.668 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.1687, allocations: 384 / 0.6822 GB, free: 6.668 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.195e-06/0.1687, allocations: 8.359 kB / 0.6823 GB, free: 6.66 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.665e-05/0.1688, allocations: 26.27 kB / 0.6823 GB, free: 6.629 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.1688, allocations: 4.188 kB / 0.6823 GB, free: 6.625 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.1688, allocations: 3.938 kB / 0.6823 GB, free: 6.621 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.1688, allocations: 0 / 0.6823 GB, free: 6.621 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.138e-05/0.1688, allocations: 7.984 kB / 0.6823 GB, free: 6.613 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001231/0.169, allocations: 145.7 kB / 0.6824 GB, free: 6.422 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.461e-05/0.169, allocations: 18.52 kB / 0.6824 GB, free: 6.395 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.532e-05/0.169, allocations: 8.953 kB / 0.6825 GB, free: 6.383 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006988/0.1697, allocations: 457.5 kB / 0.6829 GB, free: 5.844 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.1698, allocations: 38.56 kB / 0.6829 GB, free: 5.797 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.123e-06/0.1698, allocations: 0 / 0.6829 GB, free: 5.797 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.00013/0.1699, allocations: 41.58 kB / 0.683 GB, free: 5.75 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.17, allocations: 59.52 kB / 0.683 GB, free: 5.68 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.064e-05/0.17, allocations: 89.86 kB / 0.6831 GB, free: 5.582 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.518e-06/0.17, allocations: 25.7 kB / 0.6831 GB, free: 5.551 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.71e-05/0.17, allocations: 80.14 kB / 0.6832 GB, free: 5.469 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/0.1701, allocations: 3.938 kB / 0.6832 GB, free: 5.465 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.631e-05/0.1701, allocations: 13.72 kB / 0.6832 GB, free: 5.445 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.966e-05/0.1702, allocations: 314.8 kB / 0.6835 GB, free: 5.129 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.849e-06/0.1702, allocations: 0 / 0.6835 GB, free: 5.129 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.612e-06/0.1702, allocations: 7.938 kB / 0.6835 GB, free: 5.121 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.578e-05/0.1702, allocations: 8.859 kB / 0.6835 GB, free: 5.109 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.1703, allocations: 0 / 0.6835 GB, free: 5.109 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.29e-05/0.1703, allocations: 37.62 kB / 0.6836 GB, free: 5.066 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.1703, allocations: 8 kB / 0.6836 GB, free: 5.059 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.1703, allocations: 0 / 0.6836 GB, free: 5.059 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.1704, allocations: 3.938 kB / 0.6836 GB, free: 5.055 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.529e-05/0.1704, allocations: 0 / 0.6836 GB, free: 5.055 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.1704, allocations: 0 / 0.6836 GB, free: 5.055 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.136e-05/0.1704, allocations: 4.375 kB / 0.6836 GB, free: 5.051 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.1704, allocations: 4 kB / 0.6836 GB, free: 5.047 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 5.568e-05/0.1705, allocations: 109.8 kB / 0.6837 GB, free: 4.93 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.063e-06/0.1705, allocations: 0 / 0.6837 GB, free: 4.93 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.184e-05/0.1706, allocations: 44.69 kB / 0.6837 GB, free: 4.879 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.1706, allocations: 0 / 0.6837 GB, free: 4.879 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1706, allocations: 0 / 0.6837 GB, free: 4.879 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.1706, allocations: 0 / 0.6837 GB, free: 4.879 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.747e-05/0.1707, allocations: 149.7 kB / 0.6839 GB, free: 4.684 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.1707, allocations: 8.016 kB / 0.6839 GB, free: 4.676 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.692e-05/0.1707, allocations: 3.938 kB / 0.6839 GB, free: 4.672 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1707, allocations: 0 / 0.6839 GB, free: 4.672 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.1707, allocations: 3.938 kB / 0.6839 GB, free: 4.668 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1707, allocations: 4 kB / 0.6839 GB, free: 4.664 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1707, allocations: 0 / 0.6839 GB, free: 4.664 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.209e-05/0.1708, allocations: 53.14 kB / 0.684 GB, free: 4.594 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.117e-05/0.1708, allocations: 85 kB / 0.684 GB, free: 4.492 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.058e-05/0.1709, allocations: 7.969 kB / 0.684 GB, free: 4.484 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.913e-06/0.1709, allocations: 4 kB / 0.6841 GB, free: 4.48 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.829e-06/0.1709, allocations: 0 / 0.6841 GB, free: 4.48 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-06/0.1709, allocations: 0 / 0.6841 GB, free: 4.48 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.093e-05/0.1709, allocations: 75.28 kB / 0.6841 GB, free: 4.406 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.733e-06/0.1709, allocations: 0 / 0.6841 GB, free: 4.406 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001924/0.1711, allocations: 23.94 kB / 0.6841 GB, free: 4.383 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.0001885/0.1713, allocations: 115.2 kB / 0.6843 GB, free: 4.258 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.882e-05/0.1714, allocations: 7.938 kB / 0.6843 GB, free: 4.25 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1714, allocations: 0 / 0.6843 GB, free: 4.25 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.941e-06/0.1714, allocations: 4 kB / 0.6843 GB, free: 4.246 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001294/0.1715, allocations: 0 / 0.6843 GB, free: 4.246 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001977/0.1717, allocations: 110.9 kB / 0.6844 GB, free: 4.105 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001884/0.1719, allocations: 0.6729 MB / 0.685 GB, free: 3.406 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.225e-05/0.172, allocations: 7.438 kB / 0.685 GB, free: 3.398 MB / 494.1 MB Notification: Performance of SimCode: time 4.11e-07/0.172, allocations: 3.938 kB / 0.685 GB, free: 3.395 MB / 494.1 MB Notification: Performance of Templates: time 0.001914/0.1739, allocations: 0.5588 MB / 0.6856 GB, free: 2.836 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)