Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.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.Examples.BesselY1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1") translateModel(BuildingSystems.Utilities.Math.Examples.BesselY1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 108.8 kB / 16.37 MB, free: 6.465 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.0009884/0.0009884, allocations: 193.1 kB / 17.31 MB, free: 5.816 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.251/1.251, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002013/0.002013, allocations: 279.2 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8879/0.8879, allocations: 169.2 MB / 0.4989 GB, free: 4.469 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001723/0.001723, allocations: 88.17 kB / 0.5967 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1547, allocations: 86.98 MB / 0.6816 GB, free: 7.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselY1): time 0.002386/0.1572, allocations: 1.426 MB / 0.683 GB, free: 6.031 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006134/0.1578, allocations: 359.6 kB / 0.6833 GB, free: 5.676 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.355e-05/0.1578, allocations: 0 / 0.6833 GB, free: 5.676 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.438e-05/0.1579, allocations: 7.938 kB / 0.6834 GB, free: 5.668 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.393e-05/0.1579, allocations: 3.938 kB / 0.6834 GB, free: 5.664 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003919/0.1583, allocations: 107.7 kB / 0.6835 GB, free: 5.559 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.315e-05/0.1584, allocations: 23.92 kB / 0.6835 GB, free: 5.535 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.305e-05/0.1584, allocations: 8 kB / 0.6835 GB, free: 5.527 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.203e-05/0.1585, allocations: 11.92 kB / 0.6835 GB, free: 5.516 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.326e-05/0.1585, allocations: 8 kB / 0.6835 GB, free: 5.508 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.705e-06/0.1585, allocations: 3.938 kB / 0.6835 GB, free: 5.504 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001975/0.1587, allocations: 135.8 kB / 0.6836 GB, free: 5.371 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.416e-06/0.1588, allocations: 0 / 0.6836 GB, free: 5.371 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.112e-05/0.1588, allocations: 11.94 kB / 0.6837 GB, free: 5.359 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.159, allocations: 91.78 kB / 0.6837 GB, free: 5.27 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.159, allocations: 0 / 0.6837 GB, free: 5.27 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.159, allocations: 0 / 0.6837 GB, free: 5.27 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.159, allocations: 4 kB / 0.6837 GB, free: 5.266 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003983/0.1594, allocations: 351.5 kB / 0.6841 GB, free: 4.871 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/0.1594, allocations: 11.97 kB / 0.6841 GB, free: 4.859 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.686e-05/0.1595, allocations: 4.844 kB / 0.6841 GB, free: 4.855 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.087e-05/0.1596, allocations: 164.4 kB / 0.6843 GB, free: 4.656 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.1596, allocations: 4.375 kB / 0.6843 GB, free: 4.652 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.083e-06/0.1596, allocations: 384 / 0.6843 GB, free: 4.652 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.1597, allocations: 50.23 kB / 0.6843 GB, free: 4.598 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.8e-06/0.1597, allocations: 4.188 kB / 0.6843 GB, free: 4.594 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.1598, allocations: 3.938 kB / 0.6843 GB, free: 4.59 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.1598, allocations: 4 kB / 0.6843 GB, free: 4.586 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001497/0.1599, allocations: 39.89 kB / 0.6844 GB, free: 4.547 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000258/0.1602, allocations: 240.9 kB / 0.6846 GB, free: 4.262 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.1603, allocations: 46.53 kB / 0.6846 GB, free: 4.207 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.543e-05/0.1604, allocations: 20.91 kB / 0.6846 GB, free: 4.184 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006502/0.1611, allocations: 469.5 kB / 0.6851 GB, free: 3.633 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.1611, allocations: 34.5 kB / 0.6851 GB, free: 3.59 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.1611, allocations: 4 kB / 0.6851 GB, free: 3.586 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.000297/0.1614, allocations: 77.64 kB / 0.6852 GB, free: 3.504 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.1614, allocations: 51.53 kB / 0.6853 GB, free: 3.441 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.528e-05/0.1615, allocations: 109.8 kB / 0.6854 GB, free: 3.324 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.1615, allocations: 25.7 kB / 0.6854 GB, free: 3.293 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.548e-05/0.1616, allocations: 87.98 kB / 0.6855 GB, free: 3.203 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.243e-05/0.1616, allocations: 0 / 0.6855 GB, free: 3.203 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.938e-05/0.1616, allocations: 17.72 kB / 0.6855 GB, free: 3.18 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.1618, allocations: 314.8 kB / 0.6858 GB, free: 2.863 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.408e-05/0.1619, allocations: 15.98 kB / 0.6858 GB, free: 2.848 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.119e-05/0.1619, allocations: 19.98 kB / 0.6858 GB, free: 2.828 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.1621, allocations: 40.75 kB / 0.6859 GB, free: 2.785 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1621, allocations: 4 kB / 0.6859 GB, free: 2.781 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000166/0.1622, allocations: 65.52 kB / 0.6859 GB, free: 2.711 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.1623, allocations: 8.094 kB / 0.6859 GB, free: 2.703 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.1623, allocations: 4 kB / 0.6859 GB, free: 2.699 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.1623, allocations: 0 / 0.6859 GB, free: 2.699 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.163e-05/0.1624, allocations: 7.984 kB / 0.6859 GB, free: 2.691 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.1624, allocations: 0 / 0.6859 GB, free: 2.691 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.098e-05/0.1624, allocations: 15.92 kB / 0.686 GB, free: 2.676 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.1624, allocations: 0 / 0.686 GB, free: 2.676 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 (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 6.127e-05/0.1625, allocations: 117.7 kB / 0.6861 GB, free: 2.551 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.189e-05/0.1625, allocations: 0 / 0.6861 GB, free: 2.551 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001979/0.1627, allocations: 80.72 kB / 0.6862 GB, free: 2.465 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.1628, allocations: 0 / 0.6862 GB, free: 2.465 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.1628, allocations: 0 / 0.6862 GB, free: 2.465 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1628, allocations: 4.172 kB / 0.6862 GB, free: 2.461 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001388/0.1629, allocations: 157.6 kB / 0.6863 GB, free: 2.258 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.1629, allocations: 0 / 0.6863 GB, free: 2.258 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.908e-05/0.163, allocations: 11.98 kB / 0.6863 GB, free: 2.246 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.163, allocations: 3.984 kB / 0.6863 GB, free: 2.242 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.163, allocations: 4.031 kB / 0.6863 GB, free: 2.238 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.163, allocations: 0 / 0.6863 GB, free: 2.238 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.163, allocations: 0 / 0.6863 GB, free: 2.238 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002059/0.1632, allocations: 163.4 kB / 0.6865 GB, free: 2.062 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.064e-05/0.1633, allocations: 85.02 kB / 0.6866 GB, free: 1.961 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.069e-05/0.1633, allocations: 0 / 0.6866 GB, free: 1.961 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.969e-05/0.1634, allocations: 12.02 kB / 0.6866 GB, free: 1.949 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.01e-05/0.1634, allocations: 8 kB / 0.6866 GB, free: 1.941 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.1634, allocations: 0 / 0.6866 GB, free: 1.941 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.195e-05/0.1634, allocations: 79.28 kB / 0.6867 GB, free: 1.863 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1634, allocations: 0 / 0.6867 GB, free: 1.863 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002433/0.1637, allocations: 35.98 kB / 0.6867 GB, free: 1.828 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 (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.0002092/0.1639, allocations: 135.2 kB / 0.6868 GB, free: 1.684 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001854/0.1641, allocations: 35.95 kB / 0.6869 GB, free: 1.648 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1641, allocations: 0 / 0.6869 GB, free: 1.648 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.515e-05/0.1642, allocations: 23.98 kB / 0.6869 GB, free: 1.625 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002225/0.1644, allocations: 15.88 kB / 0.6869 GB, free: 1.609 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000239/0.1647, allocations: 101.6 kB / 0.687 GB, free: 1.484 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.1649, allocations: 0.6768 MB / 0.6876 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.087e-05/0.165, allocations: 4 kB / 0.6877 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.378e-05/0.165, allocations: 7.438 kB / 0.6877 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.165, allocations: 0 / 0.6877 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of Templates: time 0.2322/0.3972, allocations: 0.8925 MB / 0.6885 GB, free: 17.79 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe 2>&1)