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.007495/0.007495, allocations: 100.5 kB / 15.73 MB, free: 6.035 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.001577/0.001577, allocations: 187.1 kB / 16.67 MB, free: 5.969 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.464/1.464, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002064/0.002064, allocations: 293.9 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9295/0.9295, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001668/0.001668, allocations: 100.2 kB / 0.6815 GB, free: 15.52 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1501, allocations: 86.98 MB / 0.7664 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselY1): time 0.002261/0.1523, allocations: 1.428 MB / 0.7678 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0006546/0.153, allocations: 351.7 kB / 0.7681 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.764e-05/0.1531, allocations: 0 / 0.7681 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.491e-05/0.1531, allocations: 11.92 kB / 0.7681 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.892e-05/0.1532, allocations: 3.938 kB / 0.7681 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004179/0.1536, allocations: 107.7 kB / 0.7682 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.833e-05/0.1536, allocations: 19.94 kB / 0.7683 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.344e-05/0.1537, allocations: 15.91 kB / 0.7683 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.495e-05/0.1538, allocations: 8 kB / 0.7683 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.368e-05/0.1538, allocations: 11.92 kB / 0.7683 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.486e-06/0.1538, allocations: 0 / 0.7683 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002201/0.154, allocations: 131.8 kB / 0.7684 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.938e-06/0.1541, allocations: 8 kB / 0.7684 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.03e-05/0.1541, allocations: 7.938 kB / 0.7684 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001715/0.1543, allocations: 99.73 kB / 0.7685 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1543, allocations: 0 / 0.7685 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1543, allocations: 0 / 0.7685 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.1543, allocations: 0 / 0.7685 GB, free: 6.262 MB / 0.5606 GB 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.0004066/0.1547, allocations: 347.4 kB / 0.7689 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.912e-05/0.1547, allocations: 12.03 kB / 0.7689 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.959e-05/0.1548, allocations: 0.9375 kB / 0.7689 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.1549, allocations: 176.3 kB / 0.769 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.1549, allocations: 384 / 0.769 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.504e-06/0.1549, allocations: 384 / 0.769 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.1551, allocations: 54.22 kB / 0.7691 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.102e-06/0.1551, allocations: 192 / 0.7691 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.1551, allocations: 3.938 kB / 0.7691 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.1551, allocations: 0 / 0.7691 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001596/0.1553, allocations: 39.91 kB / 0.7691 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002815/0.1556, allocations: 249 kB / 0.7694 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/0.1557, allocations: 38.5 kB / 0.7694 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.314e-05/0.1558, allocations: 20.91 kB / 0.7694 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006763/0.1565, allocations: 477.4 kB / 0.7699 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.1565, allocations: 34.56 kB / 0.7699 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.1565, allocations: 3.938 kB / 0.7699 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003317/0.1569, allocations: 81.64 kB / 0.77 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.229e-05/0.1569, allocations: 55.34 kB / 0.7701 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.64e-05/0.157, allocations: 97.86 kB / 0.7701 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.157, allocations: 25.7 kB / 0.7702 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.263e-05/0.157, allocations: 84.14 kB / 0.7703 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.157, allocations: 15.83 kB / 0.7703 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.145e-05/0.1571, allocations: 17.84 kB / 0.7703 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.982e-05/0.1572, allocations: 310.8 kB / 0.7706 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.005e-05/0.1573, allocations: 15.98 kB / 0.7706 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.811e-05/0.1573, allocations: 11.98 kB / 0.7706 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.1575, allocations: 44.81 kB / 0.7707 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.1575, allocations: 8 kB / 0.7707 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001888/0.1577, allocations: 73.59 kB / 0.7707 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.1577, allocations: 4 kB / 0.7707 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.1577, allocations: 3.938 kB / 0.7707 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.1577, allocations: 0 / 0.7707 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.544e-05/0.1578, allocations: 8 kB / 0.7707 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-06/0.1578, allocations: 3.984 kB / 0.7707 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.564e-05/0.1579, allocations: 8.031 kB / 0.7708 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.1579, allocations: 0 / 0.7708 GB, free: 3.664 MB / 0.5606 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 (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 7.084e-05/0.158, allocations: 114.4 kB / 0.7709 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.488e-05/0.158, allocations: 3.906 kB / 0.7709 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002104/0.1582, allocations: 76.7 kB / 0.7709 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1582, allocations: 0 / 0.7709 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1582, allocations: 4 kB / 0.7709 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1583, allocations: 4.031 kB / 0.771 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001486/0.1584, allocations: 157.6 kB / 0.7711 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1584, allocations: 0 / 0.7711 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.542e-05/0.1585, allocations: 7.984 kB / 0.7711 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.1585, allocations: 4 kB / 0.7711 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.992e-06/0.1585, allocations: 0 / 0.7711 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.1585, allocations: 0 / 0.7711 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1585, allocations: 0 / 0.7711 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002326/0.1587, allocations: 171.4 kB / 0.7713 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.02e-05/0.1588, allocations: 77.11 kB / 0.7713 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.021e-05/0.1588, allocations: 0 / 0.7713 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.807e-05/0.1589, allocations: 7.984 kB / 0.7714 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.037e-05/0.1589, allocations: 3.938 kB / 0.7714 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.1589, allocations: 4 kB / 0.7714 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.208e-05/0.159, allocations: 87.44 kB / 0.7714 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.159, allocations: 8.031 kB / 0.7715 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002477/0.1592, allocations: 24 kB / 0.7715 GB, free: 2.828 MB / 0.5606 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 (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.0002289/0.1595, allocations: 135.2 kB / 0.7716 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001967/0.1597, allocations: 35.95 kB / 0.7716 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1597, allocations: 0 / 0.7716 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.223e-05/0.1598, allocations: 23.92 kB / 0.7717 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.16, allocations: 7.938 kB / 0.7717 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002508/0.1603, allocations: 109.6 kB / 0.7718 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000221/0.1605, allocations: 0.6768 MB / 0.7724 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.945e-05/0.1605, allocations: 0 / 0.7724 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.945e-05/0.1605, allocations: 11.44 kB / 0.7724 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of SimCode: time 3.31e-07/0.1605, allocations: 0 / 0.7724 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of Templates: time 0.002998/0.1635, allocations: 0.9172 MB / 0.7733 GB, free: 0.8555 MB / 0.5606 GB 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe 2>&1)