Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.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.BesselY0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 119.9 kB / 16.37 MB, free: 6.016 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.0009807/0.0009808, allocations: 193 kB / 17.31 MB, free: 5.613 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.25/1.25, 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.002004/0.002004, allocations: 284.8 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9099/0.9099, allocations: 169.3 MB / 0.4989 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001649/0.001649, allocations: 98.45 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1542, allocations: 86.97 MB / 0.6816 GB, free: 7.441 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselY0): time 0.001786/0.156, allocations: 0.5823 MB / 0.6822 GB, free: 6.859 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005868/0.1566, allocations: 295 kB / 0.6825 GB, free: 6.57 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.299e-05/0.1566, allocations: 0 / 0.6825 GB, free: 6.57 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.059e-05/0.1567, allocations: 0 / 0.6825 GB, free: 6.57 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.12e-06/0.1567, allocations: 0 / 0.6825 GB, free: 6.57 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004418/0.1571, allocations: 95.72 kB / 0.6826 GB, free: 6.477 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.633e-05/0.1572, allocations: 4 kB / 0.6826 GB, free: 6.473 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.675e-05/0.1572, allocations: 0 / 0.6826 GB, free: 6.473 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.437e-05/0.1572, allocations: 7.984 kB / 0.6826 GB, free: 6.465 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.801e-05/0.1572, allocations: 0 / 0.6826 GB, free: 6.465 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.873e-06/0.1573, allocations: 0 / 0.6826 GB, free: 6.465 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002402/0.1575, allocations: 119.8 kB / 0.6827 GB, free: 6.348 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.899e-06/0.1575, allocations: 7.922 kB / 0.6827 GB, free: 6.34 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.773e-05/0.1575, allocations: 0 / 0.6827 GB, free: 6.34 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.1577, allocations: 71.83 kB / 0.6828 GB, free: 6.27 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1577, allocations: 0 / 0.6828 GB, free: 6.27 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1577, allocations: 0 / 0.6828 GB, free: 6.27 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.435e-06/0.1577, allocations: 8 kB / 0.6828 GB, free: 6.262 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.0003004/0.158, allocations: 323.6 kB / 0.6831 GB, free: 5.895 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.1581, allocations: 8.031 kB / 0.6831 GB, free: 5.887 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.766e-05/0.1581, allocations: 0.9375 kB / 0.6831 GB, free: 5.887 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.385e-05/0.1582, allocations: 160.4 kB / 0.6832 GB, free: 5.691 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.1582, allocations: 4.375 kB / 0.6832 GB, free: 5.688 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.358e-06/0.1582, allocations: 4.375 kB / 0.6832 GB, free: 5.684 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.248e-05/0.1583, allocations: 30.25 kB / 0.6833 GB, free: 5.648 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.1583, allocations: 8.125 kB / 0.6833 GB, free: 5.641 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.1583, allocations: 3.938 kB / 0.6833 GB, free: 5.637 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.197e-06/0.1583, allocations: 0 / 0.6833 GB, free: 5.637 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.774e-05/0.1584, allocations: 4 kB / 0.6833 GB, free: 5.633 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001373/0.1585, allocations: 141.7 kB / 0.6834 GB, free: 5.445 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.335e-05/0.1586, allocations: 18.58 kB / 0.6834 GB, free: 5.418 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.461e-05/0.1586, allocations: 8.953 kB / 0.6834 GB, free: 5.406 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000644/0.1592, allocations: 457.5 kB / 0.6839 GB, free: 4.867 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.702e-05/0.1592, allocations: 30.56 kB / 0.6839 GB, free: 4.828 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 2.655e-06/0.1593, allocations: 0 / 0.6839 GB, free: 4.828 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001345/0.1594, allocations: 41.58 kB / 0.6839 GB, free: 4.781 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.8e-05/0.1594, allocations: 63.52 kB / 0.684 GB, free: 4.707 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.971e-05/0.1595, allocations: 89.86 kB / 0.6841 GB, free: 4.609 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.1595, allocations: 25.7 kB / 0.6841 GB, free: 4.578 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.32e-05/0.1595, allocations: 84.08 kB / 0.6842 GB, free: 4.492 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.538e-05/0.1595, allocations: 0 / 0.6842 GB, free: 4.492 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.32e-05/0.1596, allocations: 9.719 kB / 0.6842 GB, free: 4.477 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.998e-05/0.1597, allocations: 318.8 kB / 0.6845 GB, free: 4.156 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.306e-06/0.1597, allocations: 0 / 0.6845 GB, free: 4.156 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.568e-06/0.1597, allocations: 0 / 0.6845 GB, free: 4.156 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.358e-05/0.1597, allocations: 16.86 kB / 0.6845 GB, free: 4.137 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1597, allocations: 3.938 kB / 0.6845 GB, free: 4.133 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.542e-05/0.1598, allocations: 33.69 kB / 0.6846 GB, free: 4.094 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.1598, allocations: 4 kB / 0.6846 GB, free: 4.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1598, allocations: 4 kB / 0.6846 GB, free: 4.086 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.1598, allocations: 7.922 kB / 0.6846 GB, free: 4.078 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.174e-05/0.1598, allocations: 0 / 0.6846 GB, free: 4.078 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.1599, allocations: 4 kB / 0.6846 GB, free: 4.074 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.026e-05/0.1599, allocations: 4.031 kB / 0.6846 GB, free: 4.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-06/0.1599, allocations: 0 / 0.6846 GB, free: 4.07 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.439e-05/0.1599, allocations: 113.8 kB / 0.6847 GB, free: 3.949 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.651e-06/0.16, allocations: 0 / 0.6847 GB, free: 3.949 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.796e-05/0.16, allocations: 48.62 kB / 0.6847 GB, free: 3.895 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-06/0.16, allocations: 0 / 0.6847 GB, free: 3.895 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.16, allocations: 0 / 0.6847 GB, free: 3.895 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.1601, allocations: 0 / 0.6847 GB, free: 3.895 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.595e-05/0.1601, allocations: 145.7 kB / 0.6849 GB, free: 3.703 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1601, allocations: 4.031 kB / 0.6849 GB, free: 3.699 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.105e-05/0.1602, allocations: 3.984 kB / 0.6849 GB, free: 3.695 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.1602, allocations: 0 / 0.6849 GB, free: 3.695 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.1602, allocations: 3.938 kB / 0.6849 GB, free: 3.691 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1602, allocations: 0 / 0.6849 GB, free: 3.691 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1602, allocations: 4 kB / 0.6849 GB, free: 3.688 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.513e-05/0.1602, allocations: 60.98 kB / 0.685 GB, free: 3.609 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.242e-05/0.1603, allocations: 81.09 kB / 0.685 GB, free: 3.512 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.007e-06/0.1603, allocations: 7.969 kB / 0.685 GB, free: 3.504 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.222e-06/0.1603, allocations: 0 / 0.685 GB, free: 3.504 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.154e-05/0.1603, allocations: 4 kB / 0.685 GB, free: 3.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-06/0.1603, allocations: 0 / 0.685 GB, free: 3.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.179e-05/0.1604, allocations: 75.28 kB / 0.6851 GB, free: 3.426 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1604, allocations: 0 / 0.6851 GB, free: 3.426 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002001/0.1606, allocations: 28 kB / 0.6851 GB, free: 3.398 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.0002149/0.1608, allocations: 139.2 kB / 0.6853 GB, free: 3.25 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.793e-05/0.1608, allocations: 7.984 kB / 0.6853 GB, free: 3.242 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.1609, allocations: 0 / 0.6853 GB, free: 3.242 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.29e-06/0.1609, allocations: 3.938 kB / 0.6853 GB, free: 3.238 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000122/0.161, allocations: 12.06 kB / 0.6853 GB, free: 3.227 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001681/0.1612, allocations: 81.02 kB / 0.6854 GB, free: 3.121 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001986/0.1614, allocations: 0.669 MB / 0.686 GB, free: 2.426 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.14e-05/0.1614, allocations: 4 kB / 0.686 GB, free: 2.422 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.134e-05/0.1614, allocations: 7.438 kB / 0.686 GB, free: 2.414 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1614, allocations: 0 / 0.686 GB, free: 2.414 MB / 494.1 MB Notification: Performance of Templates: time 0.002464/0.1639, allocations: 0.6325 MB / 0.6867 GB, free: 1.785 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1)